Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
yaron2 committed Jan 9, 2021
1 parent e8cb38e commit af4d041
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion state/aerospike/aerospike.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const (
var (
errMissingHosts = errors.New("aerospike: value for 'hosts' missing")
errInvalidHosts = errors.New("aerospike: invalid value for hosts")
errInvalidETag = errors.New("aerospike: invalid ETag value")
)

// Aerospike is a state store
Expand Down
1 change: 1 addition & 0 deletions state/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ func (r *StateStore) setValue(req *state.SetRequest) error {
if req.ETag != "" {
return state.NewETagError(state.ETagMismatch, err)
}

return fmt.Errorf("failed to set key %s: %s", req.Key, err)
}

Expand Down

0 comments on commit af4d041

Please sign in to comment.