Skip to content

Commit 96d00c1

Browse files
hasaketaCopilot
andauthored
Update main.go
Co-authored-by: Copilot <[email protected]>
1 parent 68e8409 commit 96d00c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func isMongoNodeAlive(hostname string, port int) (bool, error) {
5959
return false, err
6060
}
6161
conn.Close()
62-
return true, err
62+
return true, nil
6363
}
6464

6565
func main() {

0 commit comments

Comments
 (0)