mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
[PR #5773/02431341 backport][stable-6] snap: use MH execute() static method (#5774)
snap: use MH execute() static method (#5773)
* use MH execute() static method
* add changelog fragment
(cherry picked from commit 02431341b7
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
c8b8668212
commit
5cf7ce705a
2 changed files with 3 additions and 2 deletions
|
@ -399,8 +399,7 @@ class Snap(CmdStateModuleHelper):
|
|||
|
||||
|
||||
def main():
|
||||
snap = Snap()
|
||||
snap.run()
|
||||
Snap.execute()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue