mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 20:34:57 +00:00
Fix misspellings in comments
Found by https://goreportcard.com/report/github.com/drone/drone
This commit is contained in:
@@ -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
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user