Skip to content

Commit f0a0029

Browse files
authored
Merge pull request #250 from arangodb/bugfix/use-correct-retry
Avoid use of arangosync packages
2 parents e2818d8 + 7159561 commit f0a0029

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/operator/operator_leader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ import (
3535
"k8s.io/client-go/tools/leaderelection"
3636
"k8s.io/client-go/tools/leaderelection/resourcelock"
3737

38-
"github.com/arangodb/arangosync/pkg/retry"
3938
"github.com/arangodb/kube-arangodb/pkg/util/constants"
4039
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
4140
"github.com/arangodb/kube-arangodb/pkg/util/probe"
41+
"github.com/arangodb/kube-arangodb/pkg/util/retry"
4242
)
4343

4444
// runLeaderElection performs a leader election on a lock with given name in

pkg/util/k8sutil/storageclass.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ import (
2626
"strconv"
2727
"time"
2828

29-
"github.com/arangodb/arangosync/pkg/retry"
3029
"k8s.io/api/storage/v1"
3130
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3231
storagev1 "k8s.io/client-go/kubernetes/typed/storage/v1"
32+
33+
"github.com/arangodb/kube-arangodb/pkg/util/retry"
3334
)
3435

3536
var (

0 commit comments

Comments
 (0)