mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #38402 from madhusudancs/fed-svc-e2e-cm-fix-2
Automatic merge from submit-queue (batch tested with PRs 36310, 37349, 38319, 38402, 38338) Use the `serviceShard` variable in the service shard block, not the `service` variable. cc @kubernetes/sig-federation
This commit is contained in:
commit
9c166ddf46
@ -217,8 +217,8 @@ var _ = framework.KubeDescribe("[Feature:Federation]", func() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if serviceShard != nil {
|
if serviceShard != nil {
|
||||||
By(fmt.Sprintf("Deleting service shards and their provider resources in underlying clusters for service %q in namespace %q", service.Name, nsName))
|
By(fmt.Sprintf("Deleting service shards and their provider resources in underlying clusters for service %q in namespace %q", serviceShard.Name, nsName))
|
||||||
cleanupServiceShardsAndProviderResources(nsName, service, clusters)
|
cleanupServiceShardsAndProviderResources(nsName, serviceShard, clusters)
|
||||||
serviceShard = nil
|
serviceShard = nil
|
||||||
} else {
|
} else {
|
||||||
By("No service shards to delete. `serviceShard` is nil")
|
By("No service shards to delete. `serviceShard` is nil")
|
||||||
|
Loading…
Reference in New Issue
Block a user