From 4722efb73d85891a42df57732f466e49b12df10f Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 23 Apr 2025 00:06:16 +0200 Subject: [PATCH] chore(tfstated): update database file path --- .gitignore | 6 +++--- cmd/tfstated/main.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index d824783..8e16b05 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ cover.out -tfstate.db -tfstate.db-shm -tfstate.db-wal +tfstated.db +tfstated.db-shm +tfstated.db-wal diff --git a/cmd/tfstated/main.go b/cmd/tfstated/main.go index e228d53..190131d 100644 --- a/cmd/tfstated/main.go +++ b/cmd/tfstated/main.go @@ -69,7 +69,7 @@ func main() { db, err := database.NewDB( ctx, - "./tfstate.db?_txlock=immediate", + "./tfstated.db?_txlock=immediate", os.Getenv, ) if err != nil {