IsVolumeAttachedToNode() renamed to GetAttachState(), and returns 3 states instead of combining "uncertain" and "detached" into "false"

This commit is contained in:
Cheng Xing
2020-09-07 17:24:00 -07:00
parent a61743b125
commit d9a629fe3a
7 changed files with 119 additions and 90 deletions

View File

@@ -27,8 +27,8 @@ import (
"testing"
"time"
"k8s.io/mount-utils"
"k8s.io/apimachinery/pkg/util/sets"
"k8s.io/mount-utils"
"k8s.io/utils/exec"
testingexec "k8s.io/utils/exec/testing"
utilstrings "k8s.io/utils/strings"