mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-19 03:57:55 -04:00
chore: fix unused parameter lint in new golangcilint version
This commit is contained in:
parent
68fc2b0811
commit
65903459a0
35 changed files with 92 additions and 92 deletions
|
@ -23,7 +23,7 @@ func NewMaaPatchCmd() *cobra.Command {
|
|||
Long: "Patch the MAA's attestation policy.",
|
||||
Args: cobra.MatchAll(
|
||||
cobra.ExactArgs(1),
|
||||
func(cmd *cobra.Command, args []string) error {
|
||||
func(_ *cobra.Command, args []string) error {
|
||||
if _, err := url.Parse(args[0]); err != nil {
|
||||
return fmt.Errorf("argument %s is not a valid URL: %w", args[0], err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue