diff options
Diffstat (limited to 'internal/db/basic.go')
-rw-r--r-- | internal/db/basic.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/basic.go b/internal/db/basic.go index f8c04c6b9..7cd690aef 100644 --- a/internal/db/basic.go +++ b/internal/db/basic.go @@ -33,9 +33,9 @@ type Basic interface { // For implementations that don't use tables, this can just return nil. DropTable(ctx context.Context, i interface{}) error - // Stop should stop and close the database connection cleanly, returning an error if this is not possible. + // Close should stop and close the database connection cleanly, returning an error if this is not possible. // If the database implementation doesn't need to be stopped, this can just return nil. - Stop(ctx context.Context) error + Close() error // IsHealthy should return nil if the database connection is healthy, or an error if not. IsHealthy(ctx context.Context) error |