Skip to content

Commit 6d708d0

Browse files
committed
Fix linter errors
1 parent ed6fec6 commit 6d708d0

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

leader/leader.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@ import (
3131
logf "sigs.k8s.io/controller-runtime/pkg/log"
3232
)
3333

34-
type runModeType string
35-
36-
const (
37-
localRunMode runModeType = "local"
38-
)
39-
40-
// forceRunModeEnv indicates if the operator should be forced to run in either local
41-
// or cluster mode (currently only used for local mode)
42-
var forceRunModeEnv = "OSDK_FORCE_RUN_MODE"
43-
4434
// errNoNamespace indicates that a namespace could not be found for the current
4535
// environment
4636
var errNoNamespace = fmt.Errorf("Namespace is required when running outside the cluster")

leader/leader_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func TestIsPodEvicted(t *testing.T) {
7171
},
7272
},
7373
{
74-
name: "Succeded pod returns false",
74+
name: "Succeeded pod returns false",
7575
expected: false,
7676
pod: corev1.Pod{
7777
Status: corev1.PodStatus{

0 commit comments

Comments
 (0)