Must use mountlabel when creating builtin volumes

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2023-02-21 16:18:15 -05:00
parent 80be8c3d64
commit b5a99e0816
13 changed files with 120 additions and 24 deletions

View File

@ -34,6 +34,6 @@ func TestLabelVolumePath(t *testing.T) {
}
// LabelVolumePath should not return an error if the operation is unsupported.
err := LabelVolumePath("/foo/bar")
err := LabelVolumePath("/foo/bar", "")
assert.NoError(t, err)
}