We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07cbcb0 + 997fc04 commit 3b7b025Copy full SHA for 3b7b025
util/src/main/java/io/kubernetes/client/util/KubeConfig.java
@@ -73,12 +73,10 @@ public boolean setContext(String context) {
73
currentUser = null;
74
Map<String, Object> ctx = findObject(contexts, context);
75
if (ctx == null) {
76
- System.err.println("Failed to find context: " + context + " in " + contexts);
77
return false;
78
}
79
currentContext = (Map<String, Object>) ctx.get("context");
80
if (currentContext == null) {
81
- System.err.println("Failed to find 'context' in " + ctx);
82
83
84
String cluster = (String) currentContext.get("cluster");
0 commit comments