From b3e10f839ce07bd9351f5c5af88ffb4794d94896 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sat, 22 Jul 2017 07:27:24 +0100 Subject: fixed bug in parsing non-scorsh commits --- types.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'types.go') diff --git a/types.go b/types.go index faf9f6c..235ef8d 100644 --- a/types.go +++ b/types.go @@ -38,14 +38,14 @@ type SCORSHtag_cfg struct { // Configuration of a worker type SCORSHworker_cfg struct { - Name string `yaml:"w_name"` - Repos []string `yaml:"w_repos"` - Folder string `yaml:"w_folder"` - Logfile string `yaml:"w_logfile"` - Tagfile string `yaml:"w_tagfile"` - Keyrings []string `yaml:"w_keyrings"` - Tags []SCORSHtag_cfg `yaml:"w_tags"` - TagKeys map[string]map[string]bool + Name string `yaml:"w_name"` + Repos []string `yaml:"w_repos"` + Folder string `yaml:"w_folder"` + Logfile string `yaml:"w_logfile"` + Tagfile string `yaml:"w_tagfile"` + // Keyrings []string `yaml:"w_keyrings"` + Tags []SCORSHtag_cfg `yaml:"w_tags"` + TagKeys map[string]map[string]bool } // State of a worker @@ -136,7 +136,7 @@ func (w *SCORSHworker) String() string { fmt.Fprintf(&buff, "Folder: %s\n", w.Folder) fmt.Fprintf(&buff, "Logfile: %s\n", w.Logfile) fmt.Fprintf(&buff, "Tagfile: %s\n", w.Tagfile) - fmt.Fprintf(&buff, "Keyrings: %s\n", w.Keyrings) + // fmt.Fprintf(&buff, "Keyrings: %s\n", w.Keyrings) return buff.String() } -- cgit v1.2.3