From 8db3369d9e1f321013aa55597ef61b2f6e509a20 Mon Sep 17 00:00:00 2001 From: Michal Kralik Date: Wed, 14 Feb 2024 18:32:45 +0100 Subject: [PATCH] cleanup --- pkg/uninstall/uninstall.go | 3 --- pkg/upgrade/upgrade.go | 2 -- 2 files changed, 5 deletions(-) diff --git a/pkg/uninstall/uninstall.go b/pkg/uninstall/uninstall.go index 6415565a..8811e079 100644 --- a/pkg/uninstall/uninstall.go +++ b/pkg/uninstall/uninstall.go @@ -112,9 +112,6 @@ This will uninstall Everest and all its components from the cluster.` return err } - if err := u.uninstallK8sResources(ctx); err != nil { - return err - } v, err := goversion.NewVersion(version.Version) if err != nil { return err diff --git a/pkg/upgrade/upgrade.go b/pkg/upgrade/upgrade.go index f005583d..db06810e 100644 --- a/pkg/upgrade/upgrade.go +++ b/pkg/upgrade/upgrade.go @@ -21,8 +21,6 @@ import ( "errors" "fmt" "net/url" - "os" - "strings" version "github.com/Percona-Lab/percona-version-service/versionpb" goversion "github.com/hashicorp/go-version"