use pointer type for nodeAffinity (#1263)

* use pointer type for nodeAffinity
This commit is contained in:
Felix Kunde
2020-12-18 12:07:59 +01:00
committed by GitHub
parent a63ad49ef8
commit 07c4f52ede
6 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -882,7 +882,7 @@ func TestNodeAffinity(t *testing.T) {
Volume: acidv1.Volume{
Size: "1G",
},
NodeAffinity: *nodeAffinity,
NodeAffinity: nodeAffinity,
}
}