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 6b9579b commit 6788114Copy full SHA for 6788114
util/src/main/java/io/kubernetes/client/Exec.java
@@ -438,11 +438,7 @@ public ExecutionBuilder setOnUnhandledError(Consumer<Throwable> onUnhandledError
438
private String makePath() {
439
String[] encodedCommand = new String[command.length];
440
for (int i = 0; i < command.length; i++) {
441
- try {
442
- encodedCommand[i] = URLEncoder.encode(command[i], StandardCharsets.UTF_8);
443
- } catch (UnsupportedEncodingException ex) {
444
- throw new RuntimeException("some thing wrong happend: " + ex.getMessage());
445
- }
+ encodedCommand[i] = URLEncoder.encode(command[i], StandardCharsets.UTF_8);
446
}
447
return "/api/v1/namespaces/"
448
+ namespace
0 commit comments