mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-26 07:55:50 +03:00
[GH-ISSUE #168] config file prompted even for targets that dont require config #36
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#36
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 @thorntonmc on GitHub (Apr 26, 2022).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/168
#164 created the following issue for me.
Part of my workflow involves getting a list of all VMs. This does not normally require a config file, however since
GetConfigis always called now, it expects some sort of config to be directed in from stdin (which hangs indefinitely if nothing is directed) .Is this intended? If not, I can create the PR to resolve this issue -- I just wanted to make sure if this was the intended workflow or not.
@Tinyblargon commented on GitHub (Apr 26, 2022):
Thanks for reporting this.
This behavior was not intended when i made the change.
Currently the --file flag and os.stdin are only intended to supply a config when a item gets set/created/updated.
@thorntonmc commented on GitHub (Apr 26, 2022):
Thanks @Tinyblargon - I'll throw up a PR and @ you on it.
@mleone87 commented on GitHub (Apr 28, 2022):
closing it if it's working as expected now