Skip to content

Commit

Permalink
Merge pull request containers#2944 from mheon/fix_renumber
Browse files Browse the repository at this point in the history
Call the runtime with WithRenumber() when asked by 'system renumber' command
  • Loading branch information
openshift-merge-robot committed Apr 15, 2019
2 parents 6f3f026 + 936537c commit c1e2b58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/podman/libpodruntime/runtime.go
Expand Up @@ -64,6 +64,10 @@ func getRuntime(c *cliconfig.PodmanCommand, renumber bool) (*libpod.Runtime, err
storageOpts.GraphDriverOptions = c.GlobalFlags.StorageOpts
}

if renumber {
options = append(options, libpod.WithRenumber())
}

// Only set this if the user changes storage config on the command line
if storageSet {
options = append(options, libpod.WithStorageConfig(storageOpts))
Expand Down

0 comments on commit c1e2b58

Please sign in to comment.