Skip to content
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

Merged
merged 7 commits into from
Feb 5, 2021
Merged

Conversation

Gerrit91
Copy link
Contributor

@Gerrit91 Gerrit91 commented Dec 2, 2020

No description provided.

@Gerrit91 Gerrit91 changed the title Allow updating firewall networks. Allow updating firewall networks, fix displaying container runtimes properly in all cases. Dec 2, 2020
@Gerrit91 Gerrit91 changed the title Allow updating firewall networks, fix displaying container runtimes properly in all cases. Allow updating firewall networks Feb 1, 2021
@Gerrit91 Gerrit91 marked this pull request as ready for review February 4, 2021 09:23
@Gerrit91 Gerrit91 requested a review from majst01 February 4, 2021 10:14
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")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing "/n" ?

Copy link
Contributor Author

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")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@majst01 majst01 merged commit 286f345 into master Feb 5, 2021
@majst01 majst01 deleted the allow-updating-firewall-networks branch February 5, 2021 10:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants