From 5f58daaf57fa8e20fc46be6883129055e54e8cc0 Mon Sep 17 00:00:00 2001 From: chavacava Date: Fri, 22 Apr 2022 14:53:32 +0200 Subject: [PATCH] fix typo in struct tag (#30884) typo found by [`revive`](https://github.com/mgechev/revive) --- internal/states/statefile/version4.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/states/statefile/version4.go b/internal/states/statefile/version4.go index 8e7bfe0870..c474b650d7 100644 --- a/internal/states/statefile/version4.go +++ b/internal/states/statefile/version4.go @@ -539,7 +539,7 @@ type instanceObjectStateV4 struct { SchemaVersion uint64 `json:"schema_version"` AttributesRaw json.RawMessage `json:"attributes,omitempty"` AttributesFlat map[string]string `json:"attributes_flat,omitempty"` - AttributeSensitivePaths json.RawMessage `json:"sensitive_attributes,omitempty,"` + AttributeSensitivePaths json.RawMessage `json:"sensitive_attributes,omitempty"` PrivateRaw []byte `json:"private,omitempty"`