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 @@ ...@@ -3,7 +3,6 @@
require 'time' require 'time'
require 'json' require 'json'
require_relative '../../../lib/gitlab/popen' unless defined?(Gitlab::Popen) require_relative '../../../lib/gitlab/popen' unless defined?(Gitlab::Popen)
require_relative '../../../lib/gitlab/json' unless defined?(Gitlab::Json)
module Tooling module Tooling
class Helm3Client class Helm3Client
...@@ -67,7 +66,7 @@ module Tooling ...@@ -67,7 +66,7 @@ module Tooling
%(--output json), %(--output json),
*args *args
] ]
releases = Gitlab::Json.parse(run_command(command)) releases = JSON.parse(run_command(command)) # rubocop:disable Gitlab/Json
releases.map do |release| releases.map do |release|
Release.new(*release.values_at(*RELEASE_JSON_ATTRIBUTES)) 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