Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
徐胖 committed Apr 16, 2019
1 parent d25d661 commit 3883ee9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions cmd/drone-agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion cmd/drone-controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion cmd/drone-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion core/admission.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion operator/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 3883ee9

Please sign in to comment.