Fix misspellings in comments

Found by https://goreportcard.com/report/github.com/drone/drone
This commit is contained in:
Matthias Loibl
2016-03-27 01:14:00 +01:00
parent 310be64c3b
commit c039bc7a16
6 changed files with 7 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ func Run(client dockerclient.Client, conf *dockerclient.ContainerConfig, name st
// the container to exit.
func RunDaemon(client dockerclient.Client, conf *dockerclient.ContainerConfig, name string) (*dockerclient.ContainerInfo, error) {
// attempts to create the contianer
// attempts to create the container
id, err := client.CreateContainer(conf, name, nil)
if err != nil {
// and pull the image and re-create if that fails

View File

@@ -53,7 +53,7 @@ func ParseRequest(r *http.Request, fn SecretFunc) (*Token, error) {
return Parse(token, fn)
}
// and finally we attemt to get the token from
// and finally we attempt to get the token from
// the user session cookie
cookie, err := r.Cookie("user_sess")
if err != nil {