mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #408] [MERGED] Fix: sshkey set when empty #448
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#448
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/Telmate/proxmox-api-go/pull/408
Author: @Tinyblargon
Created: 3/26/2025
Status: ✅ Merged
Merged: 3/26/2025
Merged by: @Tinyblargon
Base:
master← Head:fix-ssh-empty📝 Commits (2)
870b2eftest: add missing cases4ea00c6fix: empty key not set properly📊 Changes
4 files changed (+39 additions, -5 deletions)
View changed files
📝
proxmox/config_qemu_cloudinit.go(+9 -2)📝
proxmox/config_qemu_test.go(+7 -0)📝
proxmox/type_authorizedkey.go(+5 -1)📝
proxmox/type_authorizedkey_test.go(+18 -2)📄 Description
Fixes and issue where the ssh key will be set even when a list of empty keys is provided.
It would add an escaped
\nfor every empty key.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.