add context

This commit is contained in:
Shuhrat Tultaganov committed 2022-12-31 01:47:29 +03:00
1 parent 9bb611c0a2
commit d379223517
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
from postgres
FROM postgres
ADD ./docker-compose_test_db_init.sql /docker-entrypoint-initdb.d/
+1 -1
View File
@@ -32,7 +32,7 @@ func (b *Bd) Open() error {
}
func (b *Bd) Close() {
b.db.Close()
b.db.Close(context.Background())
}
func (b *Bd) Films() *Filmsrepo {