Skip to content

Commit a20feb4

Browse files
committed
update constants files
Signed-off-by: Ashima-Ashima1 <[email protected]>
1 parent a53861e commit a20feb4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

controllers/ibmobjectcsi_controller.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ import (
4848
"sigs.k8s.io/controller-runtime/pkg/reconcile"
4949
)
5050

51-
// ReconcileTime is the delay between reconciliations
52-
const ReconcileTime = 30 * time.Second
53-
5451
type reconciler func(instance *crutils.IBMObjectCSI) error
5552

5653
var csiLog = logf.Log.WithName("ibmobjectcsi_controller")

controllers/util/datastructures.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func Contains(list []string, s string) bool {
1313

1414
// Remove ...
1515
func Remove(list []string, s string) []string {
16-
var newList []string
16+
newList := []string{}
1717
for _, v := range list {
1818
if v != s {
1919
newList = append(newList, v)

0 commit comments

Comments
 (0)