(id string, ctx *funcletCtx.Context)
| 72 | } |
| 73 | |
| 74 | func (m *ContainerManager) UnLockContainerWithLog(id string, ctx *funcletCtx.Context) (err error) { |
| 75 | ctx.Logger.V(9).Infof("start unlock container %s", id) |
| 76 | defer ctx.Logger.V(9).Infof("finish unlock container %s", id) |
| 77 | info, err := m.ContainerMap.GetContainer(id) |
| 78 | if err != nil { |
| 79 | ctx.Logger.Errorf("get container %s status err %s", id, err) |
| 80 | return |
| 81 | } |
| 82 | info.EventLock.UnLock() |
| 83 | return |
| 84 | } |
| 85 | |
| 86 | type ContainerMap struct { |
| 87 | CMap sync.Map |
no test coverage detected