diff --git a/pkg/coordinator/scheduler/task_state.go b/pkg/coordinator/scheduler/task_state.go index 58cd419..04f40a5 100644 --- a/pkg/coordinator/scheduler/task_state.go +++ b/pkg/coordinator/scheduler/task_state.go @@ -294,7 +294,7 @@ func (ts *taskState) GetScopeOwner() types.TaskIndex { return 0 } - return scopeOwner.(types.TaskIndex) + return types.TaskIndex(scopeOwner.(uint64)) } func (ts *taskState) GetTaskResultUpdateChan(oldResult types.TaskResult) <-chan bool {