Skip to content

Commit

Permalink
Fix server creation --image was not used correctly (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
LKaemmerling authored Aug 31, 2020
1 parent 7c3c1d9 commit 5035171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/server_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func buildUserData(files []string) (string, error) {
func optsFromFlags(cli *CLI, flags *pflag.FlagSet) (opts hcloud.ServerCreateOpts, err error) {
name, _ := flags.GetString("name")
serverType, _ := flags.GetString("type")
imageIDorName, _ := flags.GetString("imageIDorName")
imageIDorName, _ := flags.GetString("image")
location, _ := flags.GetString("location")
datacenter, _ := flags.GetString("datacenter")
userDataFiles, _ := flags.GetStringArray("user-data-from-file")
Expand Down

0 comments on commit 5035171

Please sign in to comment.