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

Method opRollbackSet

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

Source from the content-addressed store, hash-verified

160}
161
162func (info *RuntimeInfo) opRollbackSet(interface{}) error {
163 logs.V(5).Infof("occupy runtime %s concurrency %d status %s", info.RuntimeID, info.Concurrency, info.State)
164 if info.State == RuntimeStateWarmUp {
165 info.Concurrency--
166 }
167 info.SetState(RuntimeStateCold)
168 info.updateStreamMode(false)
169 info.SetResource(0, 0)
170 info.SetCommitID("")
171 info.SetMarked(false)
172 return nil
173}
174
175/////////////////////////////////////mark event
176

Callers

nothing calls this directly

Calls 7

SetStateMethod · 0.95
updateStreamModeMethod · 0.95
SetResourceMethod · 0.95
SetCommitIDMethod · 0.95
SetMarkedMethod · 0.95
VFunction · 0.92
InfofMethod · 0.80

Tested by

no test coverage detected