add context

main
Shuhrat Tultaganov 2022-12-31 01:47:29 +03:00
parent 9bb611c0a2
commit d379223517
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
from postgres FROM postgres
ADD ./docker-compose_test_db_init.sql /docker-entrypoint-initdb.d/ ADD ./docker-compose_test_db_init.sql /docker-entrypoint-initdb.d/

View File

@ -32,7 +32,7 @@ func (b *Bd) Open() error {
} }
func (b *Bd) Close() { func (b *Bd) Close() {
b.db.Close() b.db.Close(context.Background())
} }
func (b *Bd) Films() *Filmsrepo { func (b *Bd) Films() *Filmsrepo {