return ErrCancelled
}
return runner.DispatcherArvClient.Update("containers", runner.Container.UUID,
- arvadosclient.Dict{"container": arvadosclient.Dict{"state": "Running", "gateway_address": runner.gateway.Address}}, nil)
+ arvadosclient.Dict{"container": arvadosclient.Dict{
+ "state": "Running",
+ "gateway_address": runner.gateway.Address,
+ "log": runner.logUUID,
+ }}, nil)
}
// ContainerToken returns the api_token the container (and any
return
}
+ _, err = runner.saveLogCollection(false)
+ if err != nil {
+ runner.CrunchLog.Printf("Error committing initial log collection: %v", err)
+ }
err = runner.UpdateContainerRunning()
if err != nil {
return