-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow updating firewall networks #34
Conversation
cmd/ip.go
Outdated
@@ -161,7 +161,7 @@ func ipStatic(args []string) error { | |||
|
|||
if !viper.GetBool("yes-i-really-mean-it") { | |||
fmt.Println("Turning an IP from ephemeral to static is irreversible. The IP address is not cleaned up automatically on cluster deletion. The address will be accounted until the IP address gets freed manually from your side.") | |||
err = helper.Prompt("Are you sure? (y/n)", "y") | |||
err = helper.Prompt("Are you sure? (y)", "y") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing "/n" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, it should not be part of this PR. I made an issue why I think there is something problematic about the "no" answer: #52
cmd/ip.go
Outdated
@@ -192,7 +192,7 @@ func ipAllocate(args []string) error { | |||
|
|||
if !viper.GetBool("yes-i-really-mean-it") { | |||
fmt.Println("Allocating a static IP address costs additional money because addresses are limited. The IP address is not cleaned up automatically on cluster deletion. The address will be accounted until the IP address gets freed manually from your side.") | |||
err := helper.Prompt("Are you sure? (y/n)", "y") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
No description provided.