The first public release of Fabled Minstrel #158
+1
-1
@@ -38,7 +38,7 @@ func WaitReady(ctx context.Context, dsn string, logger *slog.Logger) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer conn.Close(context.WithoutCancel(ctx))
|
||||
defer func() { _ = conn.Close(context.WithoutCancel(ctx)) }()
|
||||
return conn.Ping(actx)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user