mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-23 10:32:03 +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
@ -199,9 +199,10 @@ type Routes interface {
|
||||
}
|
||||
|
||||
var (
|
||||
InstanceNotFound = errors.New("instance not found")
|
||||
DiskNotFound = errors.New("disk is not found")
|
||||
NotImplemented = errors.New("unimplemented")
|
||||
InstanceNotFound = errors.New("instance not found")
|
||||
DiskNotFound = errors.New("disk is not found")
|
||||
NotImplemented = errors.New("unimplemented")
|
||||
ImplementedElsewhere = errors.New("Implemented by a different controller")
|
||||
)
|
||||
|
||||
// Zone represents the location of a particular machine.
|
||||
|
Loading…
Reference in New Issue
Block a user