Skip to content

Commit

Permalink
Merge pull request #8105 from nkovacs/its
Browse files Browse the repository at this point in the history
Documentation: grammar fixes, it's -> its
  • Loading branch information
xiang90 authored Jun 15, 2017
2 parents ee0c805 + 66687da commit 3a37b68
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Use a custom context to set timeouts on your operations:
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
// set a new key, ignoring it's previous state
// set a new key, ignoring its previous state
_, err := kAPI.Set(ctx, "/ping", "pong", nil)
if err != nil {
if err == context.DeadlineExceeded {
Expand Down
2 changes: 1 addition & 1 deletion client/members.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type Member struct {
PeerURLs []string `json:"peerURLs"`

// ClientURLs represents the HTTP(S) endpoints on which this Member
// serves it's client-facing APIs.
// serves its client-facing APIs.
ClientURLs []string `json:"clientURLs"`
}

Expand Down
2 changes: 1 addition & 1 deletion proxy/grpcproxy/cache/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type Cache interface {
Close()
}

// keyFunc returns the key of an request, which is used to look up in the cache for it's caching response.
// keyFunc returns the key of a request, which is used to look up its caching response in the cache.
func keyFunc(req *pb.RangeRequest) string {
// TODO: use marshalTo to reduce allocation
b, err := req.Marshal()
Expand Down
2 changes: 1 addition & 1 deletion raft/read_only.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import pb "github.com/coreos/etcd/raft/raftpb"

// ReadState provides state for read only query.
// It's caller's responsibility to call ReadIndex first before getting
// this state from ready, It's also caller's duty to differentiate if this
// this state from ready, it's also caller's duty to differentiate if this
// state is what it requests through RequestCtx, eg. given a unique id as
// RequestCtx
type ReadState struct {
Expand Down

0 comments on commit 3a37b68

Please sign in to comment.