Skip to content

Commit 4ad2ce1

Browse files
authored
Merge pull request #427 from TomSweeneyRedHat/dev/tsweeney/lintfix
Possible lint fix for platform.go
2 parents 32f17ac + caf2985 commit 4ad2ce1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

common/libimage/platform.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ import (
88
)
99

1010
// PlatformPolicy controls the behavior of image-platform matching.
11+
//
1112
// Deprecated: new code should use define.PlatformPolicy directly.
1213
type PlatformPolicy = define.PlatformPolicy
1314

1415
const (
1516
// Only debug log if an image does not match the expected platform.
17+
//
1618
// Deprecated: new code should reference define.PlatformPolicyDefault directly.
1719
PlatformPolicyDefault = define.PlatformPolicyDefault
1820
// Warn if an image does not match the expected platform.
21+
//
1922
// Deprecated: new code should reference define.PlatformPolicyWarn directly.
2023
PlatformPolicyWarn = define.PlatformPolicyWarn
2124
)

0 commit comments

Comments
 (0)