Skip to content

Commit 2c134e2

Browse files
committed
fix(resource-discovery): fix url paths for rancher-compatibility
1 parent c365e29 commit 2c134e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/krane/cluster_resource_discovery.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def api_paths
6464

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

0 commit comments

Comments
 (0)