Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #281

Merged
merged 1 commit into from
Feb 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions container.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (c *ContainerRequest) Validate() error {

validationMethods := []func() error{
c.validateContextAndImage,
c.validateContexOrImageIsSpecified,
c.validateContextOrImageIsSpecified,
}

var err error
Expand Down Expand Up @@ -170,7 +170,7 @@ func (c *ContainerRequest) validateContextAndImage() error {
return nil
}

func (c *ContainerRequest) validateContexOrImageIsSpecified() error {
func (c *ContainerRequest) validateContextOrImageIsSpecified() error {
if c.FromDockerfile.Context == "" && c.FromDockerfile.ContextArchive == nil && c.Image == "" {
return errors.New("you must specify either a build context or an image")
}
Expand Down
2 changes: 1 addition & 1 deletion docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ func (p *DockerProvider) attemptToPullImage(ctx context.Context, tag string, pul
return err
}

// Helth measure the healthiness of the provider. Right now we leverage the
// Health measure the healthiness of the provider. Right now we leverage the
// docker-client ping endpoint to see if the daemon is reachable.
func (p *DockerProvider) Health(ctx context.Context) (err error) {
_, err = p.client.Ping(ctx)
Expand Down