worker: Server.RequestJob → RequestOSBuildJob
This clarifies what it does, at least until its use is expanded to other job types.
This commit is contained in:
parent
ba6a480e32
commit
44c2144994
2 changed files with 3 additions and 3 deletions
|
|
@ -90,7 +90,7 @@ func TestCancel(t *testing.T) {
|
|||
jobId, err := server.Enqueue(manifest, nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
token, j, _, err := server.RequestJob(context.Background())
|
||||
token, j, _, err := server.RequestOSBuildJob(context.Background())
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, jobId, j)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue