Skip to content

Commit 8e4be45

Browse files
lazarkrstictg123
andauthored
Update examples/cp/Cp.cs
Co-authored-by: Boshi Lian <[email protected]>
1 parent 86b15a5 commit 8e4be45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cp/Cp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private static async Task Main(string[] args)
2222
var pods = client.CoreV1.ListNamespacedPod("default", null, null, null, $"job-name=upload-demo");
2323
var pod = pods.Items.First();
2424

25-
int res = await CopyFileToPodAsync(pod.Metadata.Name, "default", "upload-demo", "demo.txt", "home/demo.txt");
25+
await CopyFileToPodAsync(pod.Metadata.Name, "default", "upload-demo", args[1], "home/demo.txt");
2626

2727
}
2828

0 commit comments

Comments
 (0)