From 886aab99ffbe70398f424ccbaca5394dcb879bbe Mon Sep 17 00:00:00 2001 From: vsoch Date: Sat, 6 Apr 2024 15:03:39 -0600 Subject: [PATCH] fix: bug with omitemtpy->omitempty Signed-off-by: vsoch --- pkg/jobspec/experimental/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/jobspec/experimental/types.go b/pkg/jobspec/experimental/types.go index f29241d..68b78b5 100644 --- a/pkg/jobspec/experimental/types.go +++ b/pkg/jobspec/experimental/types.go @@ -27,7 +27,7 @@ type Script struct { type Count struct { PerSlot int32 `json:"per_slot,omitempty" yaml:"per_slot,omitempty"` - Total int32 `json:"total,omitempty" yaml:"total,omitemtpy"` + Total int32 `json:"total,omitempty" yaml:"total,omitempty"` } type Resource struct {