Skip to content

Commit

Permalink
fix: misspell (#1667)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlboy committed May 29, 2020
1 parent 0d88650 commit 15d5142
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion util/addr/addr.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func Extract(addr string) (string, error) {
for _, iface := range ifaces {
ifaceAddrs, err := iface.Addrs()
if err != nil {
// ignore error, interface can dissapear from system
// ignore error, interface can disappear from system
continue
}
if iface.Flags&net.FlagLoopback != 0 {
Expand Down
2 changes: 1 addition & 1 deletion util/kubernetes/api/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Request struct {
err error
}

// Params is the object to pass in to set paramaters
// Params is the object to pass in to set parameters
// on a request.
type Params struct {
LabelSelector map[string]string
Expand Down
2 changes: 1 addition & 1 deletion util/wrapper/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func AuthHandler(fn func() auth.Auth) server.HandlerWrapper {
if err != nil && account != nil {
return errors.Forbidden(req.Service(), "Forbidden call made to %v:%v by %v", req.Service(), req.Endpoint(), account.ID)
} else if err != nil {
return errors.Unauthorized(req.Service(), "Unauthorised call made to %v:%v", req.Service(), req.Endpoint())
return errors.Unauthorized(req.Service(), "Unauthorized call made to %v:%v", req.Service(), req.Endpoint())
}

// There is an account, set it in the context
Expand Down

0 comments on commit 15d5142

Please sign in to comment.