@@ -589,7 +589,7 @@ await genericPods.CreateNamespacedAsync(
589
589
public async Task ClientSetTest ( )
590
590
{
591
591
var namespaceParameter = "default" ;
592
- var podName = "k8scsharp-e2e-clinetset -pod" ;
592
+ var podName = "k8scsharp-e2e-clientset -pod" ;
593
593
594
594
using var kubernetes = CreateClient ( ) ;
595
595
@@ -639,7 +639,7 @@ await clientSet.CoreV1.Pods.PostAsync(
639
639
var pod = await clientSet . CoreV1 . Pods . GetAsync ( podName , namespaceParameter ) . ConfigureAwait ( false ) ;
640
640
var old = JsonSerializer . SerializeToDocument ( pod ) ;
641
641
642
- var newLabels = new Dictionary < string , string > ( pod . Metadata . Labels ) { [ "test" ] = "clinetset -test-jsonpatch" } ;
642
+ var newLabels = new Dictionary < string , string > ( pod . Metadata . Labels ) { [ "test" ] = "clientset -test-jsonpatch" } ;
643
643
pod . Metadata . Labels = newLabels ;
644
644
645
645
var expected = JsonSerializer . SerializeToDocument ( pod ) ;
@@ -649,7 +649,7 @@ await clientSet.CoreV1.Pods
649
649
. PatchAsync ( new V1Patch ( patch , V1Patch . PatchType . JsonPatch ) , podName , namespaceParameter )
650
650
. ConfigureAwait ( false ) ;
651
651
var pods = await clientSet . CoreV1 . Pods . ListAsync ( namespaceParameter ) . ConfigureAwait ( false ) ;
652
- Assert . Contains ( pods . Items , p => p . Labels ( ) . Contains ( new KeyValuePair < string , string > ( "test" , "clinetset -test-jsonpatch" ) ) ) ;
652
+ Assert . Contains ( pods . Items , p => p . Labels ( ) . Contains ( new KeyValuePair < string , string > ( "test" , "clientset -test-jsonpatch" ) ) ) ;
653
653
}
654
654
655
655
// replace + get
0 commit comments