mirror of
https://github.com/cvk98/Proxmox-load-balancer.git
synced 2026-04-25 04:25:50 +03:00
[GH-ISSUE #13] Display system information collected by the script without running the migration #9
Labels
No labels
documentation
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxmox-load-balancer#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @deniskonovalov64 on GitHub (Mar 5, 2023).
Original GitHub issue: https://github.com/cvk98/Proxmox-load-balancer/issues/13
Hello, sorry for the stupid question, my python skills are very low. How can I make the script output the information it has collected for viewing without running migration?
@cvk98 commented on GitHub (Mar 6, 2023):
Hello.
In line 387, a migration task is being performed. (job = requests.post(url, cookies=payload, headers=header, data=options, verify=False)). Instead, you can write print('necessary information'). But most likely after that, the further work of the script will be interrupted with an exception.
@deniskonovalov64 commented on GitHub (Mar 6, 2023):
I understand, thanks for the help.