Skip to content

Commit

Permalink
fix: golint
Browse files Browse the repository at this point in the history
  • Loading branch information
bisakhmondal committed Apr 12, 2021
1 parent f24ead2 commit ef21446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/test/e2enew/base/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func CleanAPISIXErrorLog() {
pwd := string(pwdByte)
pwd = strings.Replace(pwd, "\n", "", 1)
pwd = pwd[:strings.Index(pwd, "/e2e")]
cmdStr := "echo | sudo tee " + pwd+"/docker/apisix_logs/error.log"
cmdStr := "echo | sudo tee " + pwd + "/docker/apisix_logs/error.log"
cmd = exec.Command("bash", "-c", cmdStr)
_, err = cmd.Output()
if err != nil {
Expand Down

0 comments on commit ef21446

Please sign in to comment.