mirror of https://github.com/k3s-io/k3s
commit
2fd1949b7f
|
@ -353,10 +353,10 @@ func (m *FakeMetadata) GetMetadata(key string) (string, error) {
|
|||
}
|
||||
}
|
||||
|
||||
return "", nil
|
||||
} else {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
return "", nil
|
||||
}
|
||||
|
||||
// FakeELB is a fake ELB client used for testing
|
||||
|
|
|
@ -201,9 +201,9 @@ func PathExists(path string) (bool, error) {
|
|||
return false, nil
|
||||
} else if IsCorruptedMnt(err) {
|
||||
return true, err
|
||||
} else {
|
||||
return false, err
|
||||
}
|
||||
|
||||
return false, err
|
||||
}
|
||||
|
||||
// IsCorruptedMnt return true if err is about corrupted mount point
|
||||
|
|
Loading…
Reference in New Issue