Browse code

integration-cli: fix minor linting issues

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/08/06 00:07:43
Showing 2 changed files
... ...
@@ -162,7 +162,6 @@ func newVolumePlugin(c *testing.T, name string) *volumePlugin {
162 162
 
163 163
 		v.Mountpoint = hostVolumePath(pr.Name)
164 164
 		send(w, map[string]vol{"Volume": v})
165
-		return
166 165
 	})
167 166
 
168 167
 	mux.HandleFunc("/VolumeDriver.Remove", func(w http.ResponseWriter, r *http.Request) {
... ...
@@ -202,7 +202,7 @@ func (s *DockerSuite) TestImagesFilterSpaceTrimCase(c *testing.T) {
202 202
 		"dangling = true",
203 203
 	}
204 204
 
205
-	imageListings := make([][]string, 5, 5)
205
+	imageListings := make([][]string, 5)
206 206
 	for idx, filter := range filters {
207 207
 		out, _ := dockerCmd(c, "images", "-q", "-f", filter)
208 208
 		listing := strings.Split(out, "\n")