Skip to content

Commit

Permalink
fix: fixes to some minor misc issues (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 authored and cprice404 committed Mar 14, 2023
1 parent 9227dd7 commit 339ef14
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion momento/dictionary_increment.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (r *DictionaryIncrementRequest) ttl() time.Duration { return r.Ttl.Ttl }

func (r *DictionaryIncrementRequest) collectionTtl() *utils.CollectionTtl { return r.Ttl }

func (r *DictionaryIncrementRequest) requestName() string { return "DictionaryFetch" }
func (r *DictionaryIncrementRequest) requestName() string { return "DictionaryIncrement" }

func (r *DictionaryIncrementRequest) initGrpcRequest(client scsDataClient) error {
var err error
Expand Down
2 changes: 1 addition & 1 deletion momento/keys_exist.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (r *KeysExistRequest) cacheName() string { return r.CacheName }

func (r *KeysExistRequest) keys() []Key { return r.Keys }

func (r *KeysExistRequest) requestName() string { return "Get" }
func (r *KeysExistRequest) requestName() string { return "KeysExist" }

func (r *KeysExistRequest) initGrpcRequest(scsDataClient) error {
var err error
Expand Down
4 changes: 0 additions & 4 deletions momento/list_remove_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ import (
pb "github.com/momentohq/client-sdk-go/internal/protos"
)

// ListRemoveValueResponse

// ListRemoveValueRequest

type ListRemoveValueRequest struct {
CacheName string
ListName string
Expand Down
2 changes: 1 addition & 1 deletion momento/sorted_set_increment_score.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type SortedSetIncrementScoreRequest struct {

func (r *SortedSetIncrementScoreRequest) cacheName() string { return r.CacheName }

func (r *SortedSetIncrementScoreRequest) requestName() string { return "Sorted set increment" }
func (r *SortedSetIncrementScoreRequest) requestName() string { return "Sorted set increment score" }

func (r *SortedSetIncrementScoreRequest) value() Value { return r.Value }

Expand Down
2 changes: 1 addition & 1 deletion momento/sorted_set_put_elements.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type SortedSetPutElementsRequest struct {

func (r *SortedSetPutElementsRequest) cacheName() string { return r.CacheName }

func (r *SortedSetPutElementsRequest) requestName() string { return "Sorted set put" }
func (r *SortedSetPutElementsRequest) requestName() string { return "Sorted set put elements" }

func (r *SortedSetPutElementsRequest) ttl() time.Duration { return r.Ttl.Ttl }

Expand Down
2 changes: 1 addition & 1 deletion momento/sorted_set_remove_elements.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type SortedSetRemoveElementsRequest struct {

func (r *SortedSetRemoveElementsRequest) cacheName() string { return r.CacheName }

func (r *SortedSetRemoveElementsRequest) requestName() string { return "Sorted set remove" }
func (r *SortedSetRemoveElementsRequest) requestName() string { return "Sorted set remove elements" }

func (r *SortedSetRemoveElementsRequest) values() []Value { return r.Values }

Expand Down

0 comments on commit 339ef14

Please sign in to comment.