MCPcopy
hub / github.com/docker/compose / hasEnvFinding

Method hasEnvFinding

pkg/compose/publish.go:406–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404}
405
406func (f *envCheckFindings) hasEnvFinding() bool {
407 for _, svc := range f.services {
408 if svc.hasEnvFile || len(svc.suspiciousKeys) > 0 {
409 return true
410 }
411 }
412 return false
413}
414
415// checkEnvironmentVariables walks every compose file that will be serialized
416// into the OCI artifact (the top-level files plus any local extends parents)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected