runtime/kubernetes: fix update bug (#1918)

This commit is contained in:
ben-toogood 2020-08-10 15:08:04 +01:00 committed by GitHub
parent 96836f2e43
commit fdce953c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}