Commit afbf5f52 authored by Jing Xu's avatar Jing Xu Committed by GitHub

Update volumes.go

parent 64955959
...@@ -469,7 +469,7 @@ var _ = framework.KubeDescribe("GCP Volumes", func() { ...@@ -469,7 +469,7 @@ var _ = framework.KubeDescribe("GCP Volumes", func() {
}) })
func isTestEnabled(c clientset.Interface) bool { func isTestEnabled(c clientset.Interface) bool {
// Enable the test If the node image is GCI. (this check only works for node e2e test) // Enable the test on node e2e if the node image is GCI.
nodeName := framework.TestContext.NodeName nodeName := framework.TestContext.NodeName
if nodeName != "" { if nodeName != "" {
if strings.Contains(nodeName, "-gci-dev-") { if strings.Contains(nodeName, "-gci-dev-") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment