Skip to content

Commit 67a42a3

Browse files
author
wafuwafu13
committed
more simply
1 parent fc8f40b commit 67a42a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check-masterha/lib/check_masterha_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (c statusChecker) MakeCommandArgs() []string {
2929

3030
func (c statusChecker) Parse(out string) (checkers.Status, string) {
3131
lines := strings.Split(out, "\n")
32-
errors := make([]string, 0)
32+
var errors []string
3333

3434
for _, line := range lines {
3535
if line != "" && !strings.Contains(line, "running(0:PING_OK)") {

0 commit comments

Comments
 (0)