MCPcopy
hub / github.com/containers/toolbox / getFailEntryPoint

Function getFailEntryPoint

src/cmd/initContainer.go:896–907  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

894}
895
896func getFailEntryPoint() (uint, bool) {
897 valueString := os.Getenv("TOOLBX_FAIL_ENTRY_POINT")
898 if valueString == "" {
899 return 0, false
900 }
901
902 if valueN, err := strconv.Atoi(valueString); valueN > 0 && err == nil {
903 return uint(valueN), true
904 }
905
906 return 0, false
907}
908
909func handleDailyTick(event time.Time) {
910 eventString := event.String()

Callers 1

initContainerFunction · 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…