Skip to content

Commit

Permalink
only warn if git info is not passed
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
imjasonh committed Oct 22, 2024
1 parent 5d70d16 commit 59e4337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ func New(ctx context.Context, opts ...Option) (*Build, error) {
return nil, fmt.Errorf("melange.yaml is missing")
}
if b.ConfigFileRepositoryURL == "" {
return nil, fmt.Errorf("config file repository URL was not set")
log.Warnf("config file repository URL was not set")
}
if b.ConfigFileRepositoryCommit == "" {
return nil, fmt.Errorf("config file repository commit was not set")
log.Warnf("config file repository commit was not set")
}
if b.Runner == nil {
return nil, fmt.Errorf("no runner was specified")
Expand Down

0 comments on commit 59e4337

Please sign in to comment.