Skip to content

Commit 870c93c

Browse files
committed
added refinement for plugin/driver name
1 parent ee2261b commit 870c93c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

containers/docker/volume_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func (m *Manager) VolumeCreate(ctx context.Context, name string, driver cpb.Driv
3636
volOpts["device"] = vopts.GetMountpoint()
3737
}
3838
case cpb.Driver_DS_CUSTOM:
39-
kind = "custom"
39+
kind = "custom:latest"
4040
if optionz.VolumeDriverOptions != nil {
4141
vopts, ok := optionz.VolumeDriverOptions.(*cpb.CustomOptions)
4242
if !ok {

containers/docker/volume_create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func TestVolumeCreate(t *testing.T) {
103103
wantState: &fakeVolumeCreatingDocker{
104104
V: volume.Volume{
105105
Name: "some-volume",
106-
Driver: "custom",
106+
Driver: "custom:latest",
107107
Options: map[string]string{
108108
"some-option": "some-value",
109109
},

0 commit comments

Comments
 (0)