Fix multierror handling
This commit is contained in:
@@ -48,7 +48,7 @@ var recoverIPTablesCmd = &cobra.Command{
|
||||
|
||||
if filteredErrors != nil {
|
||||
filteredErrors.ErrorFormat = formatNfqErrors
|
||||
return filteredErrors
|
||||
return filteredErrors.ErrorOrNil()
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user