Skip to content

Commit

Permalink
Merge pull request #633 from aledbf/lint
Browse files Browse the repository at this point in the history
Fix lint errors
  • Loading branch information
aledbf authored Apr 20, 2017
2 parents b18f8e8 + 786d977 commit d8d9a5f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion controllers/gce/backends/fakes.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ type FakeProbeProvider struct {
probes map[ServicePort]*api_v1.Probe
}

// NewFakeProbeProvider returns a struct which satifies probeProvider interface
// NewFakeProbeProvider returns a struct which satisfies probeProvider interface
func NewFakeProbeProvider(probes map[ServicePort]*api_v1.Probe) *FakeProbeProvider {
return &FakeProbeProvider{probes}
}
Expand Down
2 changes: 1 addition & 1 deletion controllers/nginx/pkg/cmd/controller/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func newNGINXController() ingress.Controller {
continue
}

glog.V(3).Infof("remote adress %s to local %s", conn.RemoteAddr(), conn.LocalAddr())
glog.V(3).Infof("remote address %s to local %s", conn.RemoteAddr(), conn.LocalAddr())
go n.proxy.Handle(conn)
}
}()
Expand Down
4 changes: 2 additions & 2 deletions core/pkg/ingress/controller/backend_ssl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import (

const (
// openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout tls.key -out tls.crt -subj "/CN=nginxsvc/O=nginxsvc"
tlsCrt = "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURIekNDQWdlZ0F3SUJBZ0lKQU1KZld6Mm81cWVnTUEwR0NTcUdTSWIzRFFFQkN3VUFNQ1l4RVRBUEJnTlYKQkFNTUNHNW5hVzU0YzNaak1SRXdEd1lEVlFRS0RBaHVaMmx1ZUhOMll6QWVGdzB4TnpBME1URXdNakF3TlRCYQpGdzB5TnpBME1Ea3dNakF3TlRCYU1DWXhFVEFQQmdOVkJBTU1DRzVuYVc1NG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aName = "ca.crt"
)

Expand Down
2 changes: 1 addition & 1 deletion core/pkg/ingress/status/leaderelection/leaderelection.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (le *LeaderElector) renew() {
le.maybeReportTransition()
desc := le.config.Lock.Describe()
if err == nil {
glog.V(4).Infof("succesfully renewed lease %v", desc)
glog.V(4).Infof("successfully renewed lease %v", desc)
return
}
le.config.Lock.RecordEvent("stopped leading")
Expand Down

0 comments on commit d8d9a5f

Please sign in to comment.