mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 09:25:53 +03:00
[PR #141] [MERGED] Fix AgentExec when no pid returned #175
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-proxmox#175
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?
📋 Pull Request Information
Original PR: https://github.com/luthermonson/go-proxmox/pull/141
Author: @mcbenjemaa
Created: 4/2/2024
Status: ✅ Merged
Merged: 4/2/2024
Merged by: @luthermonson
Base:
main← Head:fix-pid📝 Commits (1)
d53019eFix AgentExec when no pid returned📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
virtual_machine.go(+6 -1)📄 Description
That caused a panic:
Fix the AgentExec func to return error if no pid, has returned.
oup="infrastructure.cluster.x-k8s.io" controllerKind="ProxmoxMachine" ProxmoxMachine="default/test-dev-control-plane-ptkhg" namespace="default" name="test-dev-control-plane-ptkhg" reconcileID="8013f2cd-4d25-4072-9c80-7d79af7191a4" panic: interface conversion: interface {} is nil, not float64 [recovered] panic: interface conversion: interface {} is nil, not float64🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.