Skip to content

Commit

Permalink
update comments and descriptions
Browse files Browse the repository at this point in the history
Signed-off-by: debasishbsws <debasishbsws.dev@gmail.com>
  • Loading branch information
debasishbsws committed Jul 2, 2024
1 parent 57203cc commit 6a9c138
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,12 +523,12 @@ type GitLabMonitor struct {
StripPrefix string `json:"strip-prefix,omitempty" yaml:"strip-prefix,omitempty"`
// If the version in GitLab contains a suffix which should be ignored
StripSuffix string `json:"strip-suffix,omitempty" yaml:"strip-suffix,omitempty"`
// Prefix filter to apply when searching tags on a GitHub repository
// Prefix filter to apply when searching tags on a GitLab repository
TagFilterPrefix string `json:"tag-filter-prefix,omitempty" yaml:"tag-filter-prefix,omitempty"`
// Filter to apply when searching tags on a GitHub repository
// Filter to apply when searching tags on a GitLab repository
TagFilterContains string `json:"tag-filter-contains,omitempty" yaml:"tag-filter-contains,omitempty"`
// Override the default of using a GitHub release to identify related tag to
// fetch. Not all projects use GitHub releases but just use tags
// Override the default of using a GitLab release to identify related tag to
// fetch. Not all projects use GitLab releases but just use tags
UseTags bool `json:"use-tag,omitempty" yaml:"use-tag,omitempty"`
}

Expand Down
6 changes: 3 additions & 3 deletions pkg/config/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,15 +266,15 @@
},
"tag-filter-prefix": {
"type": "string",
"description": "Prefix filter to apply when searching tags on a GitHub repository"
"description": "Prefix filter to apply when searching tags on a GitLab repository"
},
"tag-filter-contains": {
"type": "string",
"description": "Filter to apply when searching tags on a GitHub repository"
"description": "Filter to apply when searching tags on a GitLab repository"
},
"use-tag": {
"type": "boolean",
"description": "Override the default of using a GitHub release to identify related tag to\nfetch. Not all projects use GitHub releases but just use tags"
"description": "Override the default of using a GitLab release to identify related tag to\nfetch. Not all projects use GitLab releases but just use tags"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 6a9c138

Please sign in to comment.