Skip to content

Commit f26384b

Browse files
author
Adrien Pensart
committed
feat cloud: add SSH key creation
Signed-off-by: Adrien Pensart <adrien.pensart@corp.ovh.com>
1 parent 94a36e8 commit f26384b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/services/cloud/cloud_ssh_key.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ var (
2828

2929
// sshKeyCreationParameters holds the parameters for creating a new SSH key.
3030
SSHKeyCreationParameters struct {
31-
Name string `json:"name"`
32-
PublicKey string `json:"publicKey"`
31+
Name string `json:"name,omitempty"`
32+
PublicKey string `json:"publicKey,omitempty"`
3333
Region string `json:"region,omitempty"`
3434
}
3535
)

0 commit comments

Comments
 (0)