diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-07-22 07:27:24 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-07-22 07:27:24 +0100 |
commit | b3e10f839ce07bd9351f5c5af88ffb4794d94896 (patch) | |
tree | f007dd5ee923ed42f418e807477ce848aec6f5b2 /types.go | |
parent | b0aa804366af36f358b5f3eaf9caffaf6a59ec7d (diff) |
fixed bug in parsing non-scorsh commits
Diffstat (limited to 'types.go')
-rw-r--r-- | types.go | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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() } |