mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Fixed code
This commit is contained in:
parent
d289cff009
commit
7a5bf8e26f
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@ package tests
|
|||
import (
|
||||
"context"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/dchest/uniuri"
|
||||
|
||||
|
@ -24,7 +23,7 @@ func TestScaleClusterNonTLS(t *testing.T) {
|
|||
// Prepare deployment config
|
||||
depl := newDeployment("test-scale-non-tls" + uniuri.NewLen(4))
|
||||
depl.Spec.Mode = api.NewMode(api.DeploymentModeCluster)
|
||||
depl.Spec.TLS = api.TLSSpec{util.NewString("None"), nil, util.NewDuration(time.Second * 50)}
|
||||
depl.Spec.TLS = api.TLSSpec{CASecretName: util.NewString("None")}
|
||||
depl.Spec.SetDefaults(depl.GetName()) // this must be last
|
||||
|
||||
// Create deployment
|
||||
|
|
Loading…
Reference in a new issue