Skip to content

Commit

Permalink
minor fix desc of MySQLServerIDChecker (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
GMHDBJD authored Nov 27, 2020
1 parent d368cac commit 2707c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/check/mysql_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func NewMySQLServerIDChecker(db *sql.DB, dbinfo *dbutil.DBConfig) Checker {
func (pc *MySQLServerIDChecker) Check(ctx context.Context) *Result {
result := &Result{
Name: pc.Name(),
Desc: "check whether mysql server_id has been set > 1",
Desc: "check whether mysql server_id has been greater than 0",
State: StateFailure,
Extra: fmt.Sprintf("address of db instance - %s:%d", pc.dbinfo.Host, pc.dbinfo.Port),
}
Expand Down

0 comments on commit 2707c97

Please sign in to comment.