diff --git a/.drone.jsonnet b/.drone.jsonnet index 95fe2b0dab..aa31430bc3 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -4,7 +4,7 @@ local golang = "golang:1.11"; # defines a temporary volume so that the Go cache can -# be shared with all pipeine steps. +# be shared with all pipeline steps. local volumes = [ { name: "gopath", diff --git a/cmd/drone-agent/main.go b/cmd/drone-agent/main.go index d93c56b618..3af558474e 100644 --- a/cmd/drone-agent/main.go +++ b/cmd/drone-agent/main.go @@ -82,7 +82,7 @@ func main() { Errorln("cannot ping the docker daemon") time.Sleep(time.Second) } else { - logrus.Debugln("succussfully pinged the docker daemon") + logrus.Debugln("successfully pinged the docker daemon") break } } @@ -119,7 +119,7 @@ func main() { } } -// helper funciton configures the logging. +// helper function configures the logging. func initLogging(c config.Config) { if c.Logging.Debug { logrus.SetLevel(logrus.DebugLevel) diff --git a/cmd/drone-controller/main.go b/cmd/drone-controller/main.go index 91a67424f4..286fd58ec0 100644 --- a/cmd/drone-controller/main.go +++ b/cmd/drone-controller/main.go @@ -128,7 +128,7 @@ func isKubernetes() bool { return os.Getenv("KUBERNETES_SERVICE_HOST") != "" } -// helper funciton configures the logging. +// helper function configures the logging. func initLogging(c config.Config) { if c.Logging.Debug { logrus.SetLevel(logrus.DebugLevel) diff --git a/cmd/drone-server/main.go b/cmd/drone-server/main.go index d39c6c5374..315336f176 100644 --- a/cmd/drone-server/main.go +++ b/cmd/drone-server/main.go @@ -131,7 +131,7 @@ func main() { } } -// helper funciton configures the logging. +// helper function configures the logging. func initLogging(c config.Config) { if c.Logging.Debug { logrus.SetLevel(logrus.DebugLevel) diff --git a/core/admission.go b/core/admission.go index 5d3388eede..d3b237118b 100644 --- a/core/admission.go +++ b/core/admission.go @@ -18,7 +18,7 @@ import "context" // AdmissionService grants access to the system. The service can // be used to restrict access to authorized users, such as -// members of an organiozation in your soruce control management +// members of an organiozation in your source control management // system. type AdmissionService interface { Admit(context.Context, *User) error diff --git a/operator/runner/runner.go b/operator/runner/runner.go index f743cb6e9b..f733729c40 100644 --- a/operator/runner/runner.go +++ b/operator/runner/runner.go @@ -536,7 +536,7 @@ func (r *Runner) start(ctx context.Context) error { default: // This error is ignored on purpose. The system // should not exit the runner on error. The run - // funciton logs all errors, which should be enough + // function logs all errors, which should be enough // to surface potential issues to an administrator. r.poll(ctx) }