worker/server: fix container resolver job error
The container job resolve job error message was printing the wrong error type to the error string.
This commit is contained in:
parent
b493da1878
commit
98d611d34f
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ func (s *Server) ContainerResolveJobInfo(id uuid.UUID, result *ContainerResolveJ
|
|||
}
|
||||
|
||||
if jobInfo.JobType != JobTypeContainerResolve {
|
||||
return nil, fmt.Errorf("expected %q, found %q job instead", JobTypeDepsolve, jobInfo.JobType)
|
||||
return nil, fmt.Errorf("expected %q, found %q job instead", JobTypeContainerResolve, jobInfo.JobType)
|
||||
}
|
||||
|
||||
return jobInfo, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue