• India
  • Joined on 2022-03-05
swapnil pushed to main at Sysdeploy/idlers-agent 2024-07-07 10:46:43 +02:00
43e019615e Update README.md
swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-05 19:15:15 +02:00
getting os details with /api/os

Why this call again? There's already a call for create_post_data above, you need to modify that.

swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-05 16:17:28 +02:00
getting os details with /api/os

You missed a + after " "

swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-05 15:47:22 +02:00
getting os details with /api/os

Also we should refrain from using f-string anywhere in the new code.

swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-05 15:46:46 +02:00
getting os details with /api/os

You also need to modify this line to use ID and VERSION_ID.

current_os = f"{os_info.get('NAME', 'Unknown')} {os_info.get('VERSION', '').strip()}".strip().lower()
swapnil created pull request Sysdeploy/idlers-agent#23 2024-07-05 15:13:05 +02:00
skip device which doesn't have model number
swapnil pushed to main at swapnil/idlers-agent 2024-07-05 15:12:33 +02:00
601bed9a34 skip device which doesn't have model number
swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-05 14:56:04 +02:00
getting os details with /api/os

The correct endpoint is /api/os and not /api/v1/os

swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-05 14:53:27 +02:00
getting os details with /api/os

We want to use ID and VERSION_ID instead of NAME and VERSION, then you don't need to lower() that.

swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-05 14:50:37 +02:00
getting os details with /api/os

get_os_list method does not exist in the ServerData class.

swapnil created pull request swapnil/idlers-agent#4 2024-07-04 14:22:14 +02:00
Test - pull 4 - branch only in remote, not local
swapnil pushed to test/pull-4 at swapnil/idlers-agent 2024-07-04 14:21:30 +02:00
swapnil created branch test/pull-4 in swapnil/idlers-agent 2024-07-04 14:21:30 +02:00
swapnil deleted branch test/pull-2 from Sysdeploy/idlers-agent 2024-07-04 14:18:59 +02:00
swapnil deleted branch test/pull-1 from Sysdeploy/idlers-agent 2024-07-04 14:18:53 +02:00
swapnil pushed to test/pull-1 at Sysdeploy/idlers-agent 2024-07-04 14:17:48 +02:00
swapnil created branch test/pull-1 in Sysdeploy/idlers-agent 2024-07-04 14:17:48 +02:00
swapnil pushed to test/pull-2 at Sysdeploy/idlers-agent 2024-07-04 14:17:41 +02:00
swapnil created branch test/pull-2 in Sysdeploy/idlers-agent 2024-07-04 14:17:41 +02:00