Skip to content

Commit a4b2906

Browse files
committed
add debug output
1 parent 7c498dc commit a4b2906

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test.ci:
1717
(cd "$${dir}" && \
1818
go mod tidy -compat=1.18 && \
1919
go vet && \
20-
go test -coverprofile=coverage.txt -covermode=atomic ./... -race); \
20+
go test -coverprofile=coverage.txt -covermode=atomic ./... -race -v); \
2121
done
2222
cd internal/customvet && go build .
2323
go vet -vettool ./internal/customvet/customvet

export_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ func GetSlavesAddrByName(ctx context.Context, c *SentinelClient, name string) []
9191
name, err)
9292
return []string{}
9393
}
94+
fmt.Println(addrs)
9495
return parseReplicaAddrs(addrs, false)
9596
}
9697

0 commit comments

Comments
 (0)