Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Format with goimports -w ..
Browse files Browse the repository at this point in the history
  • Loading branch information
mpereira committed Oct 24, 2019
1 parent d5b9563 commit 3212c5c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/suites/simple_install_uninstall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

// log "github.com/sirupsen/logrus"

kubectl "github.com/mesosphere/kudo-cassandra-operator/tests/utils/kubectl"
k8s "github.com/mesosphere/kudo-cassandra-operator/tests/utils/k8s"
kubectl "github.com/mesosphere/kudo-cassandra-operator/tests/utils/kubectl"
kudo "github.com/mesosphere/kudo-cassandra-operator/tests/utils/kudo"
)

Expand Down
4 changes: 2 additions & 2 deletions tests/utils/k8s/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ package k8s
import (
log "github.com/sirupsen/logrus"

"k8s.io/client-go/kubernetes"
corev1 "k8s.io/api/core/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"

kubectl "github.com/mesosphere/kudo-cassandra-operator/tests/utils/kubectl"
)

var (
clientset *kubernetes.Clientset
clientset *kubernetes.Clientset
kubectlOptions *kubectl.KubectlOptions
)

Expand Down
12 changes: 6 additions & 6 deletions tests/utils/kudo/kudo.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

var (
kubectlOptions *kubectl.KubectlOptions
kudo *versioned.Clientset
kudo *versioned.Clientset
)

// TODO(mpereira) return err?
Expand Down Expand Up @@ -88,7 +88,7 @@ func WaitForOperatorDeployStatus(

if err != nil {
log.Errorf(
"Error attempting to get operator (instance='%s', namespace='%s') " +
"Error attempting to get operator (instance='%s', namespace='%s') "+
"deploy status: %s",
instanceName,
namespaceName,
Expand All @@ -99,7 +99,7 @@ func WaitForOperatorDeployStatus(

if status == nil {
log.Warnf(
"Waiting for operator (instance='%s', namespace='%s') deploy status " +
"Waiting for operator (instance='%s', namespace='%s') deploy status "+
"to be '%s', is not available",
instanceName,
namespaceName,
Expand All @@ -111,7 +111,7 @@ func WaitForOperatorDeployStatus(

if expectedStatus != *status {
log.Infof(
"Waiting for '%s' (instance='%s', namespace='%s') deploy status " +
"Waiting for '%s' (instance='%s', namespace='%s') deploy status "+
"to be '%s', is '%s'",
instanceName,
namespaceName,
Expand All @@ -138,7 +138,7 @@ func WaitForOperatorDeployStatus(
func WaitForOperatorDeployInProgress(
namespaceName string, instanceName string,
) error {
retryDelay := time.Second*2
retryDelay := time.Second * 2
var retryAttempts uint = 10

return WaitForOperatorDeployStatus(
Expand All @@ -153,7 +153,7 @@ func WaitForOperatorDeployInProgress(
func WaitForOperatorDeployComplete(
namespaceName string, instanceName string,
) error {
retryDelay := time.Second*10
retryDelay := time.Second * 10
var retryAttempts uint = 12

return WaitForOperatorDeployStatus(
Expand Down

0 comments on commit 3212c5c

Please sign in to comment.