mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-24 02:51:33 +00:00
Add a new error type in cloud.go
Adding a new error "ImplementedElsewhere" to cloud.go. This error indicates that implementation for a particular service/loadbalancer spec is handled by a different controller. The caller can ignore the error and skip modifying service status upon receiving this error.
This commit is contained in:
parent
acaa16c272
commit
8382906c9d
@ -202,6 +202,7 @@ var (
|
|||||||
InstanceNotFound = errors.New("instance not found")
|
InstanceNotFound = errors.New("instance not found")
|
||||||
DiskNotFound = errors.New("disk is not found")
|
DiskNotFound = errors.New("disk is not found")
|
||||||
NotImplemented = errors.New("unimplemented")
|
NotImplemented = errors.New("unimplemented")
|
||||||
|
ImplementedElsewhere = errors.New("Implemented by a different controller")
|
||||||
)
|
)
|
||||||
|
|
||||||
// Zone represents the location of a particular machine.
|
// Zone represents the location of a particular machine.
|
||||||
|
Loading…
Reference in New Issue
Block a user