diff options
Diffstat (limited to 'lib/gitlab/zentao/client.rb')
-rw-r--r-- | lib/gitlab/zentao/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/zentao/client.rb b/lib/gitlab/zentao/client.rb index e22d57faeca..481dca0b57c 100644 --- a/lib/gitlab/zentao/client.rb +++ b/lib/gitlab/zentao/client.rb @@ -16,7 +16,7 @@ module Gitlab def ping response = fetch_product(zentao_product_xid) rescue {} - active = response.fetch('deleted') == '0' rescue false + active = response['deleted'] == '0' if active { success: true } else |