@@ -234,7 +234,7 @@ var sampleConfig = types.Config{
234
234
},
235
235
},
236
236
},
237
- Volumes : map [string ]types.VolumeConfig {
237
+ Volumes : map [string ]* types.VolumeConfig {
238
238
"hello" : {
239
239
Driver : "default" ,
240
240
DriverOpts : map [string ]string {
@@ -665,7 +665,7 @@ networks:
665
665
Secrets : map [string ]types.SecretConfig {
666
666
"super" : {External : types.External {External : true }, Name : "super" },
667
667
},
668
- Volumes : map [string ]types.VolumeConfig {
668
+ Volumes : map [string ]* types.VolumeConfig {
669
669
"data" : {External : types.External {External : true }, Name : "data" },
670
670
},
671
671
Networks : map [string ]types.NetworkConfig {
@@ -1211,7 +1211,7 @@ func TestLoadVolumesWarnOnDeprecatedExternalNameVersion34(t *testing.T) {
1211
1211
}
1212
1212
volumes , err := LoadVolumes (source )
1213
1213
assert .NilError (t , err )
1214
- expected := map [string ]types.VolumeConfig {
1214
+ expected := map [string ]* types.VolumeConfig {
1215
1215
"foo" : {
1216
1216
Name : "oops" ,
1217
1217
External : types.External {External : true },
@@ -1242,7 +1242,7 @@ func TestLoadVolumesWarnOnDeprecatedExternalName(t *testing.T) {
1242
1242
}
1243
1243
volumes , err := LoadVolumes (source )
1244
1244
assert .NilError (t , err )
1245
- expected := map [string ]types.VolumeConfig {
1245
+ expected := map [string ]* types.VolumeConfig {
1246
1246
"foo" : {
1247
1247
Name : "oops" ,
1248
1248
External : types.External {External : true },
0 commit comments