Skip to content

Commit

Permalink
Change instance config to use the correct parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
haardikdharma10 committed Jul 10, 2024
1 parent 1b4aa90 commit a1986fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/instance/instance_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ If you wish to use a custom format, the available fields are:
}
}

// Set public ipv4 if provided
if publicip != "" {
config.PublicIPRequired = publicip
config.ReservedIPv4 = publicip
}

// Set private_ipv4 if provided
Expand Down

0 comments on commit a1986fd

Please sign in to comment.