Skip to content

Commit dc99201

Browse files
committedApr 30, 2020
Clarify log message to indicate that dependencies.yaml is optional.
1 parent bf0c8f1 commit dc99201

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎pkg/lib/bundle/validate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (i imageValidator) ValidateBundleFormat(directory string) error {
135135
}
136136

137137
if !dependenciesFound {
138-
i.logger.Info("Could not find dependencies file")
138+
i.logger.Info("Could not find optional dependencies file")
139139
} else {
140140
i.logger.Info("Found dependencies file")
141141
errs := validateDependencies(dependenciesFile)

‎pkg/registry/imageinput.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func NewImageInput(to image.Reference, from string) (*ImageInput, error) {
6161
}
6262

6363
if !dependenciesFound {
64-
log.Info("Could not find dependencies file")
64+
log.Info("Could not find optional dependencies file")
6565
}
6666

6767
imageInput := &ImageInput{

0 commit comments

Comments
 (0)
Please sign in to comment.