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

Commit

Permalink
_ for err when not used
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm committed Apr 25, 2024
1 parent 362f988 commit b189622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/truncate.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func truncate_tables(db_creds vcap.Credentials, tables []string) {
os.Exit(logging.DB_TRUNCATE_ERROR)
}

stdout, err := truncate_pipe.String()
stdout, _ := truncate_pipe.String()
if strings.Contains(stdout, "ERROR") {
logging.Logger.Printf("TRUNCATE database reported an error\n")
logging.Logger.Println(stdout)
Expand Down

0 comments on commit b189622

Please sign in to comment.