Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbrgs committed Oct 25, 2023
1 parent 5764af0 commit d5ed214
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/download/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func extractTARGZ(targetDir string, at io.ReaderAt, size int64) error {
return nil
}

// Dowloads the given binary to the target directory
// Downloads the given binary to the target directory
func downloadBinary(targetDir string, read io.ReaderAt, size int64) error {
klog.V(4).Infof("Downloading binary to %q", targetDir)

Expand Down
2 changes: 1 addition & 1 deletion internal/download/downloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ func Test_downloadBinary(t *testing.T) {
{
name: "test fail write of binary",
args: args{
targetDir: filepath.Join(testdataPath(), "test/foo"),
targetDir: filepath.Join(testdataPath(), "test", "foo"),
read: "",
size: "",
},
Expand Down
2 changes: 1 addition & 1 deletion internal/installation/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func install(op installOperation, opts InstallOpts) error {
return errors.Wrap(err, "failed to unpack into staging dir")
}

// Download Liscense file from given URI and rename downloaded binary to plugin name
// Download License file from given URI and rename downloaded binary to plugin name
if op.platform.License != "" {
if err:= downloadLicenseFile(downloadStagingDir, op.platform.License); err != nil {
return errors.Wrap(err, "failed downloading license file to installation directory")
Expand Down

0 comments on commit d5ed214

Please sign in to comment.