Commit c8f16497 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '273502-review-cleanup-failing-regularly' into 'master'

Resolve "review-cleanup failing regularly"

See merge request gitlab-org/gitlab!46414
parents 798f5542 2ca13d9b
......@@ -3,7 +3,6 @@
require 'time'
require 'json'
require_relative '../../../lib/gitlab/popen' unless defined?(Gitlab::Popen)
require_relative '../../../lib/gitlab/json' unless defined?(Gitlab::Json)
module Tooling
class Helm3Client
......@@ -67,7 +66,7 @@ module Tooling
%(--output json),
*args
]
releases = Gitlab::Json.parse(run_command(command))
releases = JSON.parse(run_command(command)) # rubocop:disable Gitlab/Json
releases.map do |release|
Release.new(*release.values_at(*RELEASE_JSON_ATTRIBUTES))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment