Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
Update rpc.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j authored Nov 18, 2019
1 parent 3b2ce5e commit 4477ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type PipelineList struct {

// Push job to the testQueue.
func (rpc *rpcServer) Push(j *Job, id *string) (err error) {
if rpc.svc == nil || rpc.svc.rr == nil {
if rpc.svc == nil {
return fmt.Errorf("jobs server is not running")
}

Expand Down

0 comments on commit 4477ae2

Please sign in to comment.