Skip to content

Commit a8fc493

Browse files
committed
Fix linting failure
1 parent f1aa4a4 commit a8fc493

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

test/e2e/clustering_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package e2e
22

33
import (
44
"fmt"
5-
"go/printer"
65
"io/ioutil"
76
"net/http"
87
"os"
@@ -27,8 +26,8 @@ func TestClusterJoin(t *testing.T) {
2726
password := "admin"
2827

2928
imageRepo, repoPres := os.LookupEnv("dockerRepository")
30-
imageTag, tagPres := os.LookupEnv("dockerVersion")
31-
29+
imageTag, tagPres := os.LookupEnv("dockerVersion")
30+
3231
if !repoPres {
3332
imageRepo = "marklogic-centos/marklogic-server-centos"
3433
t.Logf("No imageRepo variable present, setting to default value: " + imageRepo)

test/e2e/install_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ package e2e
33
import (
44
"crypto/tls"
55
"fmt"
6+
"os"
67
"path/filepath"
78
"strings"
89
"testing"
910
"time"
10-
"os"
1111

1212
"github.com/gruntwork-io/terratest/modules/helm"
1313
http_helper "github.com/gruntwork-io/terratest/modules/http-helper"
@@ -22,8 +22,8 @@ func TestHelmInstall(t *testing.T) {
2222
t.Fatalf(e.Error())
2323
}
2424
imageRepo, repoPres := os.LookupEnv("dockerRepository")
25-
imageTag, tagPres := os.LookupEnv("dockerVersion")
26-
25+
imageTag, tagPres := os.LookupEnv("dockerVersion")
26+
2727
if !repoPres {
2828
imageRepo = "marklogic-centos/marklogic-server-centos"
2929
t.Logf("No imageRepo variable present, setting to default value: " + imageRepo)

test/e2e/upgrade_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ package e2e
33
import (
44
"crypto/tls"
55
"fmt"
6+
"os"
67
"path/filepath"
78
"strings"
89
"testing"
910
"time"
10-
"os"
1111

1212
"github.com/gruntwork-io/terratest/modules/helm"
1313
http_helper "github.com/gruntwork-io/terratest/modules/http-helper"
@@ -22,8 +22,8 @@ func TestHelmUpgrade(t *testing.T) {
2222
t.Fatalf(e.Error())
2323
}
2424
imageRepo, repoPres := os.LookupEnv("dockerRepository")
25-
imageTag, tagPres := os.LookupEnv("dockerVersion")
26-
25+
imageTag, tagPres := os.LookupEnv("dockerVersion")
26+
2727
if !repoPres {
2828
imageRepo = "marklogic-centos/marklogic-server-centos"
2929
t.Logf("No imageRepo variable present, setting to default value: " + imageRepo)

0 commit comments

Comments
 (0)