mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
Purge system
This commit is contained in:
parent
2f560c4257
commit
3fdd89e1b5
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ if __name__ == "__main__":
|
||||||
""" Arg parse"""
|
""" Arg parse"""
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
group = parser.add_mutually_exclusive_group()
|
group = parser.add_mutually_exclusive_group()
|
||||||
group.add_argument("-a", "--api", action="store_true", help="Start only")
|
#group.add_argument("-a", "--api", action="store_true", help="Start only")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
""" Read conf """
|
""" Read conf """
|
||||||
|
@ -118,7 +118,7 @@ if __name__ == "__main__":
|
||||||
# '/api/v1/administration/cluster/new', 'Cluster',
|
# '/api/v1/administration/cluster/new', 'Cluster',
|
||||||
|
|
||||||
# PURGE SYSTEM
|
# PURGE SYSTEM
|
||||||
'/api/v1/administration/purge/([a-z0-9]+)', 'Purge',
|
'/api/v1/administration/purge', 'Purge',
|
||||||
|
|
||||||
# CACHE DATA (MONGO)
|
# CACHE DATA (MONGO)
|
||||||
# date/cluster/node/vmid
|
# date/cluster/node/vmid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue