summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-07-22 07:27:24 +0100
committerKatolaZ <katolaz@freaknet.org>2017-07-22 07:27:24 +0100
commitb3e10f839ce07bd9351f5c5af88ffb4794d94896 (patch)
treef007dd5ee923ed42f418e807477ce848aec6f5b2 /types.go
parentb0aa804366af36f358b5f3eaf9caffaf6a59ec7d (diff)
fixed bug in parsing non-scorsh commits
Diffstat (limited to 'types.go')
-rw-r--r--types.go18
1 files changed, 9 insertions, 9 deletions
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()
}