runtime/kubernetes: fix update bug (#1918)
This commit is contained in:
parent
96836f2e43
commit
fdce953c15
@ -533,7 +533,7 @@ func (k *kubernetes) Update(s *runtime.Service, opts ...runtime.UpdateOption) er
|
||||
}
|
||||
|
||||
// get the existing service
|
||||
services, err := k.getService(labels)
|
||||
services, err := k.getService(labels, client.GetNamespace(options.Namespace))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user