mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
factorize call
This commit is contained in:
parent
f1d2fd8215
commit
dafb765ad6
1 changed files with 2 additions and 5 deletions
|
@ -1,11 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Import salt libs
|
||||
import salt.cli
|
||||
from salt.scripts import salt_api
|
||||
|
||||
def main():
|
||||
sapi = salt.cli.SaltAPI()
|
||||
sapi.run()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
salt_api()
|
||||
|
|
Loading…
Add table
Reference in a new issue