mirror of https://github.com/harness/drone.git
fix some typos
parent
d25d661c75
commit
3883ee9614
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue