Skip to content

Commit

Permalink
Remove freebsd64 rescue system type
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Kämmerling <[email protected]>
  • Loading branch information
LKaemmerling committed Jun 20, 2022
1 parent 062c298 commit db73911
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ builds:
goarch:
- amd64
hooks:
post: gon gon.hcl
post: gon -log-level DEBUG gon.hcl
- id: "hcloud-macos-arm-build"
main: ./cmd/hcloud/main.go
binary: hcloud
Expand All @@ -44,7 +44,7 @@ builds:
goarch:
- arm64
hooks:
post: gon gon_arm64.hcl
post: gon -log-level DEBUG gon_arm64.hcl

before:
hooks:
Expand Down
2 changes: 1 addition & 1 deletion gon.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source = ["./dist/hcloud-macos-build_darwin_amd64/hcloud"]
source = ["./dist/hcloud-macos-build_darwin_amd64_v1/hcloud"]
bundle_id = "cloud.hetzner.cli"

apple_id {
Expand Down
2 changes: 1 addition & 1 deletion gon_arm64.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source = ["./dist/hcloud-macos-arm-build_darwin_arm64/hcloud"]
source = ["./dist/hcloud-macos-arm-build_darwin_arm64_v1/hcloud"]
bundle_id = "cloud.hetzner.cli"

apple_id {
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/server/enable_rescue.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func newEnableRescueCommand(cli *state.State) *cobra.Command {
RunE: cli.Wrap(runEnableRescue),
}
cmd.Flags().String("type", "linux64", "Rescue type")
cmd.RegisterFlagCompletionFunc("type", cmpl.SuggestCandidates("linux64", "linux32", "freebsd64"))
cmd.RegisterFlagCompletionFunc("type", cmpl.SuggestCandidates("linux64", "linux32"))

cmd.Flags().StringSlice("ssh-key", nil, "ID or name of SSH key to inject (can be specified multiple times)")
cmd.RegisterFlagCompletionFunc("ssh-key", cmpl.SuggestCandidatesF(cli.SSHKeyNames))
Expand Down

0 comments on commit db73911

Please sign in to comment.