Correct uuid type names
This commit is contained in:
@@ -39,10 +39,10 @@ func (r *RunnerWrapper) RunCommand(cmd string) (int64, string, string, error) {
|
||||
return return_code, stdout, stderr, err
|
||||
}
|
||||
|
||||
func (s *ApiServer) GetRunnerFromMap(uuid uuid) *RunnerWrapper {
|
||||
func (s *ApiServer) GetRunnerFromMap(u uuid.UUID) *RunnerWrapper {
|
||||
s.allocatedRunnersMutex.RLock()
|
||||
defer s.allocatedRunnersMutex.RUnlock()
|
||||
return s.allocatedRunners[uuid]
|
||||
return s.allocatedRunners[u]
|
||||
}
|
||||
|
||||
func (s *ApiServer) GetRunner(
|
||||
|
||||
Reference in New Issue
Block a user