Skip to content

Commit 685969d

Browse files
committed
lint
1 parent fb01f36 commit 685969d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/controller/statefulset/stateful_set_utils.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ import (
2222
"fmt"
2323
"regexp"
2424
"strconv"
25-
"time"
2625

2726
apps "k8s.io/api/apps/v1"
28-
"k8s.io/api/core/v1"
27+
v1 "k8s.io/api/core/v1"
2928
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3029
"k8s.io/apimachinery/pkg/runtime"
3130
"k8s.io/apimachinery/pkg/util/strategicpatch"
@@ -78,7 +77,7 @@ func getParentName(pod *v1.Pod) string {
7877
return parent
7978
}
8079

81-
// getOrdinal gets pod's ordinal. If pod has no ordinal, -1 is returned.
80+
// getOrdinal gets pod's ordinal. If pod has no ordinal, -1 is returned.
8281
func getOrdinal(pod *v1.Pod) int {
8382
_, ordinal := getParentNameAndOrdinal(pod)
8483
return ordinal

0 commit comments

Comments
 (0)