Skip to content

Commit f58be10

Browse files
authored
Merge pull request #1620 from jackpan123/master
Fixed Bug
2 parents bfcaea2 + 1c26dfb commit f58be10

File tree

1 file changed

+1
-1
lines changed
  • extended/src/main/java/io/kubernetes/client/extended/kubectl

1 file changed

+1
-1
lines changed

extended/src/main/java/io/kubernetes/client/extended/kubectl/KubectlLog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public InputStream execute() throws KubectlException {
3535
PodLogs logs = new PodLogs(apiClient);
3636
String ns = (this.namespace == null ? "default" : this.namespace);
3737
try {
38-
return logs.streamNamespacedPodLog(this.name, ns, this.container);
38+
return logs.streamNamespacedPodLog(ns, this.name, this.container);
3939
} catch (ApiException | IOException ex) {
4040
throw new KubectlException(ex);
4141
}

0 commit comments

Comments
 (0)