From be1a1bff969229330d2088c17e084b024e290b91 Mon Sep 17 00:00:00 2001 From: Sterling Hanenkamp Date: Tue, 12 Mar 2024 22:32:51 -0500 Subject: [PATCH] chore: original_version must always be present --- pkg/ost/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ost/models.go b/pkg/ost/models.go index 461faee..4dc1c30 100644 --- a/pkg/ost/models.go +++ b/pkg/ost/models.go @@ -12,7 +12,7 @@ import ( type Metadata struct { Version int `yaml:"version" json:"version"` - OriginalVersion int `yaml:"original_version,omitempty" json:"original_version,omitempty"` + OriginalVersion int `yaml:"original_version" json:"original_version"` Pruned bool `yaml:"pruned,omitempty" json:"pruned,omitempty"` }