-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lint: apply x/tools/modernize fixes and validation #3053
base: master
Are you sure you want to change the base?
Conversation
builder/builder.go
Outdated
hasNetworkHostEntitlement = true | ||
break | ||
} | ||
if slices.Contains(allowInsecureEntitlements, "network.host") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hasNetworkHostEntitlement=
build/dial.go
Outdated
found = true | ||
break | ||
} | ||
if slices.ContainsFunc(rn.platforms, platforms.Only(p).Match) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if slices.ContainsFunc
monitor/commands/attach.go
Outdated
break | ||
} | ||
} | ||
found := slices.Contains(refs, ref) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if !slices.Contains
Signed-off-by: Tonis Tiigi <[email protected]>
daaa874
to
d5d3d3d
Compare
Autogenerated
Same as moby/buildkit#5820