From 09e0b489273bf6e03804f79dbab10e160e49211c1396b85a4819d7a8a124ca96 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 2 Sep 2024 17:56:00 +0200 Subject: [PATCH] . --- prjgit-updater/example.json | 8 ++++---- prjgit-updater/main.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/prjgit-updater/example.json b/prjgit-updater/example.json index 28483e3..183da25 100644 --- a/prjgit-updater/example.json +++ b/prjgit-updater/example.json @@ -1,14 +1,14 @@ -{[ +[ { - "workflows": "direct", + "workflows": ["direct"], "organization": "autogits", "git_project_name": "MyPrj" }, { - "workflows": "direct", + "workflows": ["direct"], "organization": "autogits", "git_project_name": "HiddenPrj", "branch": "hidden" } -]} +] diff --git a/prjgit-updater/main.go b/prjgit-updater/main.go index 05b4d82..6ecfaa8 100644 --- a/prjgit-updater/main.go +++ b/prjgit-updater/main.go @@ -222,7 +222,7 @@ func main() { configs, err := common.ReadWorkflowConfigsFile(*workflowConfig) if err != nil { - log.Fatalf("Error reading config file. err: %v", err) + log.Fatal(err) } configuredRepos = make(map[string]*common.AutogitConfig)