From 71713280729d79ee4207a3771cc96d574daa30de Mon Sep 17 00:00:00 2001 From: huyng Date: Thu, 15 Aug 2019 14:40:22 +0700 Subject: [PATCH] Use ctx param from outer function --- internal/schema/migrations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/schema/migrations.go b/internal/schema/migrations.go index 4523de1..bab4c17 100644 --- a/internal/schema/migrations.go +++ b/internal/schema/migrations.go @@ -244,7 +244,7 @@ func migrationList(ctx context.Context, db *sqlx.DB, log *log.Logger, isUnittest } } - countries := geonames.ValidGeonameCountries(context.Background()) + countries := geonames.ValidGeonameCountries(ctx) if isUnittest { }