]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Print flags stat
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 9 May 2023 05:14:27 +0000 (06:14 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 9 May 2023 05:14:27 +0000 (06:14 +0100)
lualib/rspamadm/fuzzy_stat.lua

index 3959103a5857748aa68cfb434cbc71f147d93d2a..9e382c06f986fe472d73c4406382353c92fdea61 100644 (file)
@@ -291,6 +291,16 @@ return function(args, res)
           end
         end
 
+        if key_stat.flags then
+          print('')
+          print('\tFlags stat:')
+          for flag,v in ipairs(key_stat.flags) do
+            print(string.format('\t%s', flag))
+            print_stat(v, '\t\t')
+            print('')
+          end
+        end
+
         print('')
       end
     end