From 4020344eda4d2a988f11dc60ac7c55a97aa39774 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 13 Nov 2024 21:08:48 +0100 Subject: chore(tfstated): rename state "name" to "path" for consistency --- cmd/tfstated/post_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/tfstated/post_test.go b/cmd/tfstated/post_test.go index 6eb68f2..fd66dc4 100644 --- a/cmd/tfstated/post_test.go +++ b/cmd/tfstated/post_test.go @@ -53,7 +53,7 @@ func TestPost(t *testing.T) { err := db.QueryRow(`SELECT COUNT(versions.id) FROM versions JOIN states ON states.id = versions.state_id - WHERE states.name = "/test_post"`).Scan(&n) + WHERE states.path = "/test_post"`).Scan(&n) if err != nil { t.Fatalf("failed to count versions for the /test_post state: %s", err) } -- cgit v1.2.3