forked from Sysdeploy/idlers-agent
refractor
This commit is contained in:
parent
d6afa1c5eb
commit
4fa1281c10
3
agent.py
3
agent.py
|
@ -508,8 +508,7 @@ def main():
|
||||||
logging.info('Server id: {}'.format(server_id))
|
logging.info('Server id: {}'.format(server_id))
|
||||||
|
|
||||||
os_list = server_manager.get_os_list()
|
os_list = server_manager.get_os_list()
|
||||||
post_data = server_data.create_post_data(os_list)
|
|
||||||
|
|
||||||
note_data = server_data.create_note_data()
|
note_data = server_data.create_note_data()
|
||||||
server_manager.upsert_note(note_data, server_id)
|
server_manager.upsert_note(note_data, server_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user