Skip to content

Commit 2bbf153

Browse files
committed
improve warning message about version attribute
Signed-off-by: Guillaume Lours <[email protected]>
1 parent 8f1be26 commit 2bbf153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loader/loader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var versionWarning []string
8989

9090
func (o *Options) warnObsoleteVersion(file string) {
9191
if !slices.Contains(versionWarning, file) {
92-
logrus.Warning(fmt.Sprintf("%s: `version` is obsolete", file))
92+
logrus.Warning(fmt.Sprintf("%s: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion", file))
9393
}
9494
versionWarning = append(versionWarning, file)
9595
}

0 commit comments

Comments
 (0)