mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Use the serviceShard
variable in the service shard block, not the service
variable.
This commit is contained in:
parent
8f11cc78a8
commit
c1cede22cf
@ -217,8 +217,8 @@ var _ = framework.KubeDescribe("[Feature:Federation]", func() {
|
||||
}
|
||||
|
||||
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))
|
||||
cleanupServiceShardsAndProviderResources(nsName, service, clusters)
|
||||
By(fmt.Sprintf("Deleting service shards and their provider resources in underlying clusters for service %q in namespace %q", serviceShard.Name, nsName))
|
||||
cleanupServiceShardsAndProviderResources(nsName, serviceShard, clusters)
|
||||
serviceShard = nil
|
||||
} else {
|
||||
By("No service shards to delete. `serviceShard` is nil")
|
||||
|
Loading…
Reference in New Issue
Block a user