mirror of
https://github.com/juanfont/headscale.git
synced 2026-08-15 20:00:43 +09:00
Get rid of dynamic errors
This commit is contained in:
@@ -178,7 +178,7 @@ var expirePreAuthKeyCmd = &cobra.Command{
|
||||
Short: "Expire a preauthkey",
|
||||
Args: func(cmd *cobra.Command, args []string) error {
|
||||
if len(args) < 1 {
|
||||
return fmt.Errorf("missing parameters")
|
||||
return errMissingParameter
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user