From 98dbe801486e09f42f2aa767cde41e6a7a96d6f3 Mon Sep 17 00:00:00 2001 From: Gabriel Nagy Date: Wed, 21 Feb 2024 12:48:42 +0200 Subject: [PATCH] Fix last revive occurrence Introduced after the PR that handled all these. Fixes UDENG-2287 --- cmd/adsysd/client/policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/adsysd/client/policy.go b/cmd/adsysd/client/policy.go index fcb0bae53..4f8b7935c 100644 --- a/cmd/adsysd/client/policy.go +++ b/cmd/adsysd/client/policy.go @@ -105,7 +105,7 @@ func (a *App) installPolicy() { The command is a no-op if the ticket is not present on disk or the detect_cached_ticket setting is not true.`), Args: cmdhandler.ZeroOrNArgs(1), ValidArgsFunction: cmdhandler.NoValidArgs, - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(_ *cobra.Command, args []string) error { var username string if len(args) > 0 { username = args[0]