Skip to content

Commit

Permalink
fixing lint errors to make test vars constants
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamSadek committed May 15, 2024
1 parent 8e9bda0 commit ed1f8e8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions internal/commands/loglevel/show_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ import (
"github.com/projectsveltos/sveltosctl/internal/utils"
)

const (
testNamespace = "namespace"
testClusterName = "clusterName"
)

var _ = Describe("Show", func() {
It("show displays current log level settings in managed cluster", func() {
testNamespace := "namespace"
testClusterName := "clusterName"

dc := getDebuggingConfiguration()
dc.Namespace = testNamespace
dc.Name = testClusterName
Expand Down Expand Up @@ -87,5 +89,4 @@ var _ = Describe("Show", func() {
Expect(found).To(BeTrue())
os.Stdout = old
})
})

})

0 comments on commit ed1f8e8

Please sign in to comment.