Skip to content

Commit

Permalink
//nolint:staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf committed Jan 13, 2025
1 parent b906d64 commit 15ea613
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions cmds/ocm/commands/ocmcmds/componentarchive/cmd.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package componentarchive

//nolint:staticcheck

import (
"github.com/spf13/cobra"

Expand All @@ -13,6 +11,7 @@ import (
)

// Deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489
//nolint:staticcheck // Deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489
var Names = names.ComponentArchive

// Deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489
Expand Down
4 changes: 2 additions & 2 deletions cmds/ocm/commands/ocmcmds/componentarchive/create/cmd.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package create

//nolint:staticcheck

import (
"fmt"
"strings"
Expand Down Expand Up @@ -29,6 +27,7 @@ import (

// Deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489
var (
//nolint:staticcheck // Deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489
Names = names.ComponentArchive
Verb = verbs.Create
)
Expand All @@ -39,6 +38,7 @@ type Command struct {

providerattrs []string

//nolint:staticcheck // Deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489
Handler comparch.FormatHandler
Force bool
Format string
Expand Down
3 changes: 1 addition & 2 deletions cmds/ocm/commands/ocmcmds/componentarchive/transfer/cmd.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package transfer

//nolint:staticcheck

import (
"github.com/spf13/cobra"

Expand All @@ -28,6 +26,7 @@ import (

// Deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489
var (
//nolint:staticcheck // Deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489
Names = names.ComponentArchive
Verb = verbs.Transfer
)
Expand Down

0 comments on commit 15ea613

Please sign in to comment.