Skip to content

Commit

Permalink
fix: Fix linter errors in oci_getter.go
Browse files Browse the repository at this point in the history
Signed-off-by: Luiz Carvalho <[email protected]>
  • Loading branch information
lcarva committed Mar 20, 2023
1 parent 1c15011 commit 60acede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions downloader/oci_getter.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type OCIGetter struct {
}

// ClientMode returns the client mode directory
func (g *OCIGetter) ClientMode(u *url.URL) (getter.ClientMode, error) {
func (g *OCIGetter) ClientMode(_ *url.URL) (getter.ClientMode, error) {
return getter.ClientModeDir, nil
}

Expand Down Expand Up @@ -67,7 +67,7 @@ func (g *OCIGetter) Get(path string, u *url.URL) error {
}

// GetFile is currently a NOOP
func (g *OCIGetter) GetFile(dst string, u *url.URL) error {
func (g *OCIGetter) GetFile(_ string, _ *url.URL) error {
return nil
}

Expand Down

0 comments on commit 60acede

Please sign in to comment.