MCPcopy Index your code
hub / github.com/docker/cli / anyChanged

Function anyChanged

cli/command/service/update.go:554–556  ·  view source on GitHub ↗
(flags *pflag.FlagSet, fields ...string)

Source from the content-addressed store, hash-verified

552}
553
554func anyChanged(flags *pflag.FlagSet, fields ...string) bool {
555 return slices.ContainsFunc(fields, flags.Changed)
556}
557
558func addGenericResources(flags *pflag.FlagSet, spec *swarm.TaskSpec) error {
559 if !flags.Changed(flagGenericResourcesAdd) {

Callers 5

updateServiceFunction · 0.85
updateHealthcheckFunction · 0.85
updateConfigMethod · 0.85
rollbackConfigMethod · 0.85
ToRestartPolicyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…