add context
parent
9bb611c0a2
commit
d379223517
|
@ -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/
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue