Skip to content

Commit

Permalink
added .build to ErrConcurrentInstanceAccess
Browse files Browse the repository at this point in the history
Solves #65

[#166036242]

Signed-off-by: Derik Evangelista <[email protected]>
Co-authored-by: Derik Evangelista <[email protected]>
  • Loading branch information
FelisiaM and Derik Evangelista committed May 16, 2019
1 parent 75d0d93 commit 8d8c985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domain/apiresponses/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ var (

ErrConcurrentInstanceAccess = NewFailureResponseBuilder(
errors.New(concurrentInstanceAccessMsg), http.StatusUnprocessableEntity, concurrentAccessKey,
).WithErrorKey("ConcurrencyError")
).WithErrorKey("ConcurrencyError").Build()

ErrMaintenanceInfoConflict = NewFailureResponseBuilder(
errors.New(maintenanceInfoConflictMsg), http.StatusUnprocessableEntity, maintenanceInfoConflictKey,
Expand Down

0 comments on commit 8d8c985

Please sign in to comment.