Skip to content

Commit

Permalink
fixes warning verbiage
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar Rodriguez committed Aug 2, 2021
1 parent 54cb306 commit 1890736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/iac-providers/docker/v1/load-dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (dc *DockerV1) LoadIacDir(absRootDir string, nonRecursive bool) (output.All
}

if len(fileMap) == 0 {
zap.S().Warnf("directory '%s' has no dockerfile", absRootDir)
zap.S().Warnf("directory '%s' has no files named Dockerfile. Use -f flag if Dockerfiles follow a different naming convention.", absRootDir)
}

for fileDir, files := range fileMap {
Expand Down

0 comments on commit 1890736

Please sign in to comment.