Skip to content

Commit be06738

Browse files
ti-srebotlhy1024ti-chi-bot
authored
cherry pick #3584 to release-5.0 (#3590)
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: lhy1024 <admin@liudos.us> Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
1 parent 1c49daa commit be06738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/join/join.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ func PrepareJoinCluster(cfg *config.Config) error {
214214
func isDataExist(d string) bool {
215215
dir, err := os.Open(d)
216216
if err != nil {
217-
log.Error("failed to open directory", errs.ZapError(errs.ErrOSOpen, err))
217+
log.Info("failed to open directory, maybe start for the first time", zap.Error(err))
218218
return false
219219
}
220220
defer dir.Close()

0 commit comments

Comments
 (0)