From c7b16645aff27fff0b87bb2a98298693bbf20894 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Fri, 22 Apr 2022 15:10:13 +0200 Subject: enable unparam linter The unparam linter is useful to detect unused function parameters and return values. Signed-off-by: Paul Holzinger --- pkg/machine/fcos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/machine') diff --git a/pkg/machine/fcos.go b/pkg/machine/fcos.go index ad1be15c7..88e35dd04 100644 --- a/pkg/machine/fcos.go +++ b/pkg/machine/fcos.go @@ -139,7 +139,7 @@ func getStreamURL(streamType string) url2.URL { // This should get Exported and stay put as it will apply to all fcos downloads // getFCOS parses fedoraCoreOS's stream and returns the image download URL and the release version -func getFCOSDownload(imageStream string) (*fcosDownloadInfo, error) { // nolint:staticcheck +func getFCOSDownload(imageStream string) (*fcosDownloadInfo, error) { // nolint:staticcheck,unparam var ( fcosstable stream.Stream altMeta release.Release -- cgit v1.2.3-54-g00ecf