Skip to content

Commit a99acd9

Browse files
authored
Merge pull request docker#10444 from glours/dry-run-down-support
add dry-run support to down command
2 parents eb933ad + 7fb8785 commit a99acd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/api/dryrunclient.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func (d *DryRunClient) ImagePush(ctx context.Context, ref string, options moby.I
210210
}
211211

212212
func (d *DryRunClient) ImageRemove(ctx context.Context, imageName string, options moby.ImageRemoveOptions) ([]moby.ImageDeleteResponseItem, error) {
213-
return nil, ErrNotImplemented
213+
return nil, nil
214214
}
215215

216216
func (d *DryRunClient) NetworkConnect(ctx context.Context, networkName, container string, config *network.EndpointSettings) error {
@@ -229,15 +229,15 @@ func (d *DryRunClient) NetworkDisconnect(ctx context.Context, networkName, conta
229229
}
230230

231231
func (d *DryRunClient) NetworkRemove(ctx context.Context, networkName string) error {
232-
return ErrNotImplemented
232+
return nil
233233
}
234234

235235
func (d *DryRunClient) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error) {
236236
return volume.Volume{}, ErrNotImplemented
237237
}
238238

239239
func (d *DryRunClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error {
240-
return ErrNotImplemented
240+
return nil
241241
}
242242

243243
func (d *DryRunClient) ContainerExecCreate(ctx context.Context, container string, config moby.ExecConfig) (moby.IDResponse, error) {

0 commit comments

Comments
 (0)