MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / opResetCheck

Method opResetCheck

pkg/controller/rtctrl/event.go:269–279  ·  view source on GitHub ↗
(args interface{})

Source from the content-addressed store, hash-verified

267}
268
269func (info *RuntimeInfo) opResetCheck(args interface{}) error {
270 params := args.(*ResetInput)
271
272 if info.IsRunnerDefunct(params.Deadline) {
273 return nil
274 }
275
276 return &RuntimeNoNeedToReset{
277 RuntimeID: info.RuntimeID,
278 }
279}
280
281// opStopSet
282func (info *RuntimeInfo) opResetSet(interface{}) error {

Callers

nothing calls this directly

Calls 1

IsRunnerDefunctMethod · 0.95

Tested by

no test coverage detected