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 9f1669b commit a349292Copy full SHA for a349292
examples/patch/Program.cs
@@ -20,12 +20,12 @@ private static void Main(string[] args)
20
var name = pod.Metadata.Name;
21
PrintLabels(pod);
22
23
- var newlables = new Dictionary<string, string>(pod.Metadata.Labels)
+ var newlabels = new Dictionary<string, string>(pod.Metadata.Labels)
24
{
25
["test"] = "test"
26
};
27
var patch = new JsonPatchDocument<V1Pod>();
28
- patch.Replace(e => e.Metadata.Labels, newlables);
+ patch.Replace(e => e.Metadata.Labels, newlabels);
29
client.PatchNamespacedPod(new V1Patch(patch), name, "default");
30
31
PrintLabels(client.ReadNamespacedPod(name, "default"));
0 commit comments