From 98df5d0456920f0ee371b1da899c236d64ab93fd Mon Sep 17 00:00:00 2001 From: Roman Zipp Date: Sat, 15 Jan 2022 14:09:51 +0100 Subject: [PATCH] Add step struct json tags --- pipelines/step.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipelines/step.go b/pipelines/step.go index eb186c4..407b514 100644 --- a/pipelines/step.go +++ b/pipelines/step.go @@ -10,8 +10,8 @@ const ( ) type Step struct { - Name string `faker:"name"` - Type StepType `faker:"-"` + Name string `json:"name" faker:"name"` + Type StepType `json:"type" faker:"-"` } func (s Step) Translate() (IExecutableStep, error) {