Skip to content

Commit a295c58

Browse files
authored
Omit empty version (#36)
1 parent d6075b6 commit a295c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/deploymentrecord/record.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const (
1010
type DeploymentRecord struct {
1111
Name string `json:"name"`
1212
Digest string `json:"digest"`
13-
Version string `json:"version"`
13+
Version string `json:"version,omitempty"`
1414
LogicalEnvironment string `json:"logical_environment"`
1515
PhysicalEnvironment string `json:"physical_environment"`
1616
Cluster string `json:"cluster"`

0 commit comments

Comments
 (0)