Update go dependencies
This commit is contained in:
parent
432f534383
commit
f4a4daed84
1299 changed files with 71186 additions and 91183 deletions
3
vendor/k8s.io/kubernetes/pkg/volume/util/error.go
generated
vendored
3
vendor/k8s.io/kubernetes/pkg/volume/util/error.go
generated
vendored
|
|
@ -20,7 +20,7 @@ import (
|
|||
k8stypes "k8s.io/apimachinery/pkg/types"
|
||||
)
|
||||
|
||||
// This error on attach indicates volume is attached to a different node
|
||||
// DanglingAttachError indicates volume is attached to a different node
|
||||
// than we expected.
|
||||
type DanglingAttachError struct {
|
||||
msg string
|
||||
|
|
@ -32,6 +32,7 @@ func (err *DanglingAttachError) Error() string {
|
|||
return err.msg
|
||||
}
|
||||
|
||||
// NewDanglingError create a new dangling error
|
||||
func NewDanglingError(msg string, node k8stypes.NodeName, devicePath string) error {
|
||||
return &DanglingAttachError{
|
||||
msg: msg,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue