-
Notifications
You must be signed in to change notification settings - Fork 98
Deprecating --hard option in network clean command #2849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5792f94
to
b87d6fb
Compare
|
cmd/networkcmd/clean.go
Outdated
} | ||
ux.Logger.PrintToUser("removing all downloaded avalanchego and plugin binaries") | ||
binDir := filepath.Join(app.GetBaseDir(), constants.AvalancheCliBinDir) | ||
cleanBins(binDir) |
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.
I mean, we don't even need this functionality just don;t do it. Lets keep the downloaded binaries after a clean.
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.
removed this block
tests/e2e/testcases/network/suite.go
Outdated
@@ -117,7 +117,7 @@ var _ = ginkgo.Describe("[Network]", ginkgo.Ordered, func() { | |||
commands.DeleteSubnetConfig(subnetName) | |||
}) | |||
|
|||
ginkgo.It("clean hard deletes plugin binaries non SOV", func() { | |||
ginkgo.It("clean deletes plugin binaries non SOV", func() { |
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.
we don't need this one, if we are not removing binaries anymore
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.
removed
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.
to confirm: do we want to do ResetPluginsDir
anyway at clean
?
we don't want to continue deleted this, I also made the same comment in parallel |
b87d6fb
to
7f788b8
Compare
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.
LGTM but needs to pass CI
8523b89
to
298ff2e
Compare
298ff2e
to
d3e9210
Compare
Why this should be merged
to address #2784 (comment)
How this works
How this was tested
How is this documented