|
@@ -96,6 +96,8 @@ func TestBackportMountSpec(t *testing.T) {
|
|
|
return string(b)
|
|
|
}
|
|
|
|
|
|
+ mpc := *c.MountPoints["/jambolan"]
|
|
|
+
|
|
|
for _, x := range []expected{
|
|
|
{
|
|
|
mp: &volumemounts.MountPoint{
|
|
@@ -225,7 +227,7 @@ func TestBackportMountSpec(t *testing.T) {
|
|
|
comment: "partially configured named volume caused by #32613",
|
|
|
},
|
|
|
{
|
|
|
- mp: &(*c.MountPoints["/jambolan"]), // copy the mountpoint, expect no changes
|
|
|
+ mp: &mpc,
|
|
|
comment: "volume defined in mounts API",
|
|
|
},
|
|
|
{
|