MCPcopy Create free account
hub / github.com/github/gh-aw / addScheduleWarning

Method addScheduleWarning

pkg/workflow/schedule_preprocessing.go:555–560  ·  view source on GitHub ↗

addScheduleWarning adds a warning to the compiler's schedule warnings list

(warning string)

Source from the content-addressed store, hash-verified

553
554// addScheduleWarning adds a warning to the compiler's schedule warnings list
555func (c *Compiler) addScheduleWarning(warning string) {
556 if c.scheduleWarnings == nil {
557 c.scheduleWarnings = []string{}
558 }
559 c.scheduleWarnings = append(c.scheduleWarnings, warning)
560}

Callers 4

addDailyCronWarningMethod · 0.95
addHourlyCronWarningMethod · 0.95
addWeeklyCronWarningMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected