From bcff3d0153030ff6c34ac703fa5ff7a1cd676204 Mon Sep 17 00:00:00 2001 From: Kevin Lin Date: Fri, 7 Feb 2020 20:30:48 -0800 Subject: [PATCH] postgres: Fix path to dump file --- pkg/snapshot/postgres.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/snapshot/postgres.go b/pkg/snapshot/postgres.go index 4850179..c2b9dbb 100644 --- a/pkg/snapshot/postgres.go +++ b/pkg/snapshot/postgres.go @@ -63,7 +63,7 @@ psql --username "${POSTGRES_USER:-postgres}" -d "${POSTGRES_DB:-postgres}" --no- }, title: title, imageNames: []string{imageName}, - dumpPath: "/docker-entrypoint-initdb.d/dump.sql", + dumpPath: "/dksnap-dump.sql", }) if err != nil { return fmt.Errorf("build image: %w", err)