Fix linter error
This commit is contained in:
parent
aab64fa618
commit
e410636456
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ func Start(t *testing.T) string {
|
||||||
cmd := exec.Command("initdb", "-N", "-D", pgdata)
|
cmd := exec.Command("initdb", "-N", "-D", pgdata)
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
cmd.Stdout = os.Stdout
|
cmd.Stdout = os.Stdout
|
||||||
if err := cmd.Run(); err != nil {
|
if err = cmd.Run(); err != nil {
|
||||||
t.Fatalf("initdb failed: %v", err)
|
t.Fatalf("initdb failed: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ func Start(t *testing.T) string {
|
||||||
cmd = exec.Command("postgres", "-D", pgdata, "-k", pgrun, "-F")
|
cmd = exec.Command("postgres", "-D", pgdata, "-k", pgrun, "-F")
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
cmd.Stdout = os.Stdout
|
cmd.Stdout = os.Stdout
|
||||||
if err := cmd.Start(); err != nil {
|
if err = cmd.Start(); err != nil {
|
||||||
t.Fatalf("postgres failed: %v", err)
|
t.Fatalf("postgres failed: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue