Skip to content

Commit

Permalink
docs,pkgs: change 'can not' to 'cannot' (#701)
Browse files Browse the repository at this point in the history
This commit fixes a grammar mistake in a doc and some log messages.
  • Loading branch information
squat authored and murali-reddy committed Apr 4, 2019
1 parent c2f893f commit e230176
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/ipv6.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The CNI configuration is also updated with ipv6 addresses;
This means that pod's gets assigned ipv6 addresses.

The announcement of the pod CIDRs does not work yet. So pods on other
nodes than the own can not be reached.
nodes than the own cannot be reached.

To get this working the routes must be inserted in the RIB for
`gobgp`. Checking the ipv4 rib gives an error;
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/routing/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
func (nrc *NetworkRoutingController) disableSourceDestinationCheck() {
nodes, err := nrc.clientset.CoreV1().Nodes().List(metav1.ListOptions{})
if err != nil {
glog.Errorf("Failed to list nodes from API server due to: %s. Can not perform BGP peer sync", err.Error())
glog.Errorf("Failed to list nodes from API server due to: %s. Cannot perform BGP peer sync", err.Error())
return
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/routing/bgp_peers.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (nrc *NetworkRoutingController) syncInternalPeers() {
// get the current list of the nodes from API server
nodes, err := nrc.clientset.CoreV1().Nodes().List(metav1.ListOptions{})
if err != nil {
glog.Errorf("Failed to list nodes from API server due to: %s. Can not perform BGP peer sync", err.Error())
glog.Errorf("Failed to list nodes from API server due to: %s. Cannot perform BGP peer sync", err.Error())
return
}
if nrc.MetricsEnabled {
Expand Down

0 comments on commit e230176

Please sign in to comment.