Skip to content

Commit

Permalink
Misspellings correction
Browse files Browse the repository at this point in the history
  • Loading branch information
mskarbek authored and tgraf committed Mar 17, 2017
1 parent 7a21fa4 commit fb1a885
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api/v1/client/endpoint/endpoint_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ DeleteEndpointID deletes endpoint
Deletes the endpoint specified by the ID. Deletion is imminent and
atomic, if the deletion request is valid and the endpoint exists,
deletion will occur even if errors are encounted in the process. If
deletion will occur even if errors are encountered in the process. If
errors have been encountered, the code 202 will be returned, otherwise
200 on success.
Expand Down
2 changes: 1 addition & 1 deletion api/v1/models/endpoint_status_change.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type EndpointStatusChange struct {
// Status message
Message string `json:"message,omitempty"`

// Timestamp when status change occured
// Timestamp when status change occurred
Timestamp string `json:"timestamp,omitempty"`
}

Expand Down
4 changes: 2 additions & 2 deletions api/v1/server/embedded_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func init() {
}
},
"delete": {
"description": "Deletes the endpoint specified by the ID. Deletion is imminent and\natomic, if the deletion request is valid and the endpoint exists,\ndeletion will occur even if errors are encounted in the process. If\nerrors have been encountered, the code 202 will be returned, otherwise\n200 on success.\n\nAll resources associated with the endpoint will be freed and the\nworkload represented by the endpoint will be disconnected.It will no\nlonger be able to initiate or receive communications of any sort.\n",
"description": "Deletes the endpoint specified by the ID. Deletion is imminent and\natomic, if the deletion request is valid and the endpoint exists,\ndeletion will occur even if errors are encountered in the process. If\nerrors have been encountered, the code 202 will be returned, otherwise\n200 on success.\n\nAll resources associated with the endpoint will be freed and the\nworkload represented by the endpoint will be disconnected.It will no\nlonger be able to initiate or receive communications of any sort.\n",
"tags": [
"endpoint"
],
Expand Down Expand Up @@ -1061,7 +1061,7 @@ func init() {
"type": "string"
},
"timestamp": {
"description": "Timestamp when status change occured",
"description": "Timestamp when status change occurred",
"type": "string"
}
}
Expand Down
2 changes: 1 addition & 1 deletion api/v1/server/restapi/endpoint/delete_endpoint_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Delete endpoint
Deletes the endpoint specified by the ID. Deletion is imminent and
atomic, if the deletion request is valid and the endpoint exists,
deletion will occur even if errors are encounted in the process. If
deletion will occur even if errors are encountered in the process. If
errors have been encountered, the code 202 will be returned, otherwise
200 on success.
Expand Down
2 changes: 1 addition & 1 deletion cilium/cmd/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
var monitorCmd = &cobra.Command{
Use: "monitor",
Short: "Monitoring",
Long: `The monitor displays notifications and events ommited by the BPF
Long: `The monitor displays notifications and events omitted by the BPF
programs attached to endpoints and devices. This includes:
* Dropped packet notifications
* Captured packet traces
Expand Down
2 changes: 1 addition & 1 deletion pkg/kvstore/consul.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func (c *ConsulClient) GASNewL3n4AddrID(basePath string, baseID uint32, lAddrID

beginning := baseID
for {
log.Debugf("Trying to aquire a new free ID %d", baseID)
log.Debugf("Trying to acquire a new free ID %d", baseID)
keyPath := path.Join(basePath, strconv.FormatUint(uint64(baseID), 10))

lockPair := &consulAPI.KVPair{Key: GetLockPath(keyPath), Session: session}
Expand Down
2 changes: 1 addition & 1 deletion pkg/kvstore/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (e *EtcdClient) GetMaxID(key string, firstID uint32) (uint32, error) {
for {
switch value, err = e.GetValue(key); {
case attempts == 0:
err = fmt.Errorf("Unable to retreive last free ID because key is always empty")
err = fmt.Errorf("Unable to retrieve last free ID because key is always empty")
log.Error(err)
fallthrough
case err != nil:
Expand Down
2 changes: 1 addition & 1 deletion pkg/kvstore/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (l *LocalClient) GetMaxID(key string, firstID uint32) (uint32, error) {
for {
switch value, err = l.GetValue(key); {
case attempts == 0:
err = fmt.Errorf("Unable to retreive last free ID because key is always empty")
err = fmt.Errorf("Unable to retrieve last free ID because key is always empty")
log.Error(err)
fallthrough
case value == nil:
Expand Down

0 comments on commit fb1a885

Please sign in to comment.