Skip to content

Commit

Permalink
Merge pull request #295 from floric/fix/fixed-typos
Browse files Browse the repository at this point in the history
Fixed small typos
  • Loading branch information
stefanprodan authored Mar 6, 2021
2 parents 592e1cc + 8312a25 commit 5da1fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/kustomization_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,12 +446,12 @@ func (r *KustomizationReconciler) download(artifactURL string, tmpDir string) er

// check response
if resp.StatusCode != http.StatusOK {
return fmt.Errorf("faild to download artifact from %s, status: %s", artifactURL, resp.Status)
return fmt.Errorf("failed to download artifact from %s, status: %s", artifactURL, resp.Status)
}

// extract
if _, err = untar.Untar(resp.Body, tmpDir); err != nil {
return fmt.Errorf("faild to untar artifact, error: %w", err)
return fmt.Errorf("failed to untar artifact, error: %w", err)
}

return nil
Expand Down

0 comments on commit 5da1fc0

Please sign in to comment.