()
| 184 | } |
| 185 | |
| 186 | func (i *imlLogModule) OnInit() { |
| 187 | register.Handle(func(v server.Server) { |
| 188 | ctx, cancel := context.WithCancel(context.Background()) |
| 189 | ctx = utils.SetUserId(ctx, "admin") |
| 190 | //i.scheduleCtx = ctx |
| 191 | i.scheduleCancel = cancel |
| 192 | i.scheduleUpdateLogRecord(ctx) |
| 193 | |
| 194 | }) |
| 195 | } |
| 196 | |
| 197 | func (i *imlLogModule) initGateway(ctx context.Context, clusterId string, clientDriver gateway.IClientDriver) error { |
| 198 | drivers := log_driver.Drivers() |
nothing calls this directly
no test coverage detected