MCPcopy Create free account
hub / github.com/docker/docker-agent / hasWarningEvent

Function hasWarningEvent

pkg/runtime/runtime_test.go:858–865  ·  view source on GitHub ↗
(evs []Event)

Source from the content-addressed store, hash-verified

856}
857
858func hasWarningEvent(evs []Event) bool {
859 for _, e := range evs {
860 if _, ok := e.(*WarningEvent); ok {
861 return true
862 }
863 }
864 return false
865}
866
867func TestGetTools_WarningHandling(t *testing.T) {
868 t.Parallel()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected