Skip to content

Commit f95f5a7

Browse files
committed
update warning message
1 parent d4b1f65 commit f95f5a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/src/main/java/io/kubernetes/client/Discovery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public Set<APIResource> findAll(String group, List<String> versions, String pref
7272
V1APIResourceList resourceList = resourceDiscovery(path);
7373
return groupResourcesByName(group, versions, preferredVersion, resourceList);
7474
} catch (ApiException e) {
75-
LOGGER.warn("Api {} returns a {} code, all api resources managed by this api cannot be discovered", path, e.getCode(), e);
75+
LOGGER.warn("Unable to retrieve the complete list of server APIs: {}/{}: {}", group, preferredVersion, e.getResponseBody());
7676
return Collections.emptySet();
7777
}
7878
}

0 commit comments

Comments
 (0)