Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b246589

Browse files
fix tests by updating noop.go
1 parent 7a72d03 commit b246589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/prebuilds/noop.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type AGPLPrebuildClaimer struct{}
4040

4141
func (c AGPLPrebuildClaimer) Claim(context.Context, database.Store, uuid.UUID, string, uuid.UUID) (*uuid.UUID, error) {
4242
// Not entitled to claim prebuilds in AGPL version.
43-
return nil, nil
43+
return nil, ErrNoClaimablePrebuiltWorkspaces
4444
}
4545

4646
func (c AGPLPrebuildClaimer) Initiator() uuid.UUID {

0 commit comments

Comments
 (0)