mirror of
https://github.com/containers/podman
synced 2024-10-21 17:53:44 +00:00
Call the runtime with WithRenumber() when asked
We must have lost this at some point, rendering system renumber useless. Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
parent
b9260053e9
commit
936537cfe7
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue