We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89d532a commit 9b31d43Copy full SHA for 9b31d43
util/src/main/java/io/kubernetes/client/util/Yaml.java
@@ -100,7 +100,7 @@ private static void initModelMap() throws IOException {
100
initApiGroupMap();
101
initApiVersionList();
102
103
- ClassPath cp = ClassPath.from(ClassLoader.getSystemClassLoader());
+ ClassPath cp = ClassPath.from(Yaml.class.getClassLoader());
104
Set<ClassPath.ClassInfo> allClasses = cp.getTopLevelClasses("io.kubernetes.client.models");
105
106
for (ClassPath.ClassInfo clazz : allClasses) {
0 commit comments