Skip to content

Commit

Permalink
Update cluster_resource_discovery.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
strowi authored Jul 20, 2024
1 parent 931f6b1 commit eb74e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/krane/cluster_resource_discovery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def api_paths

def fetch_api_path(path)
@api_path_cache[path] ||= begin
raw_json, err, st = kubectl.run("get", "--raw", base_api_path + path, attempts: 2, use_namespace: false)
raw_json, err, st = kubectl.run("get", "--raw", base_api_path, attempts: 2, use_namespace: false)
if st.success?
MultiJson.load(raw_json)
else
Expand Down

0 comments on commit eb74e07

Please sign in to comment.