Skip to content

Commit

Permalink
Relax description validation
Browse files Browse the repository at this point in the history
Description should not be mandatory when defining a github endpoint.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
  • Loading branch information
gabriel-samfira committed Feb 5, 2025
1 parent 001465d commit 33ef72d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,6 @@ func (g *Github) Validate() error {
if g.Name == "" {
return fmt.Errorf("missing credentials name")
}
if g.Description == "" {
return fmt.Errorf("missing credentials description")
}

if g.APIBaseURL != "" {
if _, err := url.ParseRequestURI(g.APIBaseURL); err != nil {
Expand Down

0 comments on commit 33ef72d

Please sign in to comment.