@@ -28,7 +28,7 @@ func (s *DockerSuite) TestInspectAPIContainerResponse(c *check.C) {
2828
2929 if daemonPlatform == "windows" {
3030 cases = []acase {
31- {"v1.20 " , append (keysBase , "Mounts" )},
31+ {"v1.25 " , append (keysBase , "Mounts" )},
3232 }
3333
3434 } else {
@@ -84,23 +84,23 @@ func (s *DockerSuite) TestInspectAPIContainerVolumeDriver(c *check.C) {
8484
8585 cleanedContainerID := strings .TrimSpace (out )
8686
87- body := getInspectBody (c , "v1.21 " , cleanedContainerID )
87+ body := getInspectBody (c , "v1.25 " , cleanedContainerID )
8888
8989 var inspectJSON map [string ]interface {}
9090 err := json .Unmarshal (body , & inspectJSON )
91- c .Assert (err , checker .IsNil , check .Commentf ("Unable to unmarshal body for version 1.21 " ))
91+ c .Assert (err , checker .IsNil , check .Commentf ("Unable to unmarshal body for version 1.25 " ))
9292
9393 config , ok := inspectJSON ["Config" ]
9494 c .Assert (ok , checker .True , check .Commentf ("Unable to find 'Config'" ))
9595 cfg := config .(map [string ]interface {})
9696 _ , ok = cfg ["VolumeDriver" ]
97- c .Assert (ok , checker .False , check .Commentf ("API version 1.21 expected to not include VolumeDriver in 'Config'" ))
97+ c .Assert (ok , checker .False , check .Commentf ("API version 1.25 expected to not include VolumeDriver in 'Config'" ))
9898
9999 config , ok = inspectJSON ["HostConfig" ]
100100 c .Assert (ok , checker .True , check .Commentf ("Unable to find 'HostConfig'" ))
101101 cfg = config .(map [string ]interface {})
102102 _ , ok = cfg ["VolumeDriver" ]
103- c .Assert (ok , checker .True , check .Commentf ("API version 1.21 expected to include VolumeDriver in 'HostConfig'" ))
103+ c .Assert (ok , checker .True , check .Commentf ("API version 1.25 expected to include VolumeDriver in 'HostConfig'" ))
104104}
105105
106106func (s * DockerSuite ) TestInspectAPIImageResponse (c * check.C ) {
0 commit comments