[WIP] Fix cargo clippy lint build

This commit is contained in:
Vladimir Stoilov
2024-09-30 18:48:38 +03:00
parent a452f0cbf6
commit 3411e08500
6 changed files with 12 additions and 56 deletions

View File

@@ -61,10 +61,6 @@ func recoverIPTablesCmd() error {
return nil
}
// func init() {
// rootCmd.AddCommand(recoverIPTablesCmd)
// }
func formatNfqErrors(es []error) string {
if len(es) == 1 {
return fmt.Sprintf("1 error occurred:\n\t* %s\n\n", es[0])