Skip to content

Commit

Permalink
Make go vet pass (#87)
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Russett <jrussett@vmware.com>
  • Loading branch information
geofffranks committed Oct 19, 2023
1 parent d3b3018 commit d25fddd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client_test.go
Expand Up @@ -9,7 +9,7 @@ import (
var _ = Describe("Allocation Request", func() {
It("is invalid when the guid is empty", func() {
allocationInfo := NewResource(20, 30, 1024)
allocRequest := NewAllocationRequest("", &allocationInfo, nil)
allocRequest := NewAllocationRequest("", &allocationInfo, false, nil)
err := allocRequest.Validate()
Expect(err).To(HaveOccurred())
Expect(err).To(MatchError(ErrGuidNotSpecified))
Expand Down
2 changes: 1 addition & 1 deletion depot/depot_test.go
Expand Up @@ -761,7 +761,7 @@ func newAllocationRequest(guid string, tagses ...executor.Tags) executor.Allocat
if len(tagses) > 0 {
tags = tagses[0]
}
return executor.NewAllocationRequest(guid, &resource, tags)
return executor.NewAllocationRequest(guid, &resource, false, tags)
}

func newRunRequest(guid string) *executor.RunRequest {
Expand Down

0 comments on commit d25fddd

Please sign in to comment.