From f0855127aba366339c3bbcd317d2dde0edcd1d71 Mon Sep 17 00:00:00 2001 From: vsoch Date: Sat, 6 Apr 2024 14:17:49 -0600 Subject: [PATCH] fix: add user and parameter type to attributes Signed-off-by: vsoch --- pkg/jobspec/experimental/types.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/jobspec/experimental/types.go b/pkg/jobspec/experimental/types.go index 7d3a09a..f29241d 100644 --- a/pkg/jobspec/experimental/types.go +++ b/pkg/jobspec/experimental/types.go @@ -48,5 +48,7 @@ type System struct { Environment map[string]string `yaml:"environment,omitempty" json:"environment,omitempty"` } type Attributes struct { - System System `yaml:"system,omitempty" json:"system"` + System System `yaml:"system,omitempty" json:"system"` + User map[string]interface{} `yaml:"user,omitempty" json:"user,omitempty"` + Parameter map[string]interface{} `yaml:"parameter,omitempty" json:"parameter,omitempty"` }