Skip to content

Commit

Permalink
Change present state to be as created state
Browse files Browse the repository at this point in the history
For being more compliant with docker module.
See containers#257
  • Loading branch information
sshnaidm committed Jul 6, 2021
1 parent 06cc449 commit 94f977f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/podman/podman_container_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ def make_absent(self):
def execute(self):
"""Execute the desired action according to map of actions & states."""
states_map = {
'present': self.make_started,
'present': self.make_created,
'started': self.make_started,
'absent': self.make_absent,
'stopped': self.make_stopped,
Expand Down

0 comments on commit 94f977f

Please sign in to comment.