corrected as rotation_minute <= 0

This commit is contained in:
mmanoj 2023-05-07 13:01:49 +05:30 committed by GitHub
parent 526f938177
commit 16a946334d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ public:
, filenames_q_() , filenames_q_()
{ {
if (rotation_minute < 0) if (rotation_minute <= 0)
{ {
throw_spdlog_ex("minute_interval_file_sink: Invalid rotation time in ctor"); throw_spdlog_ex("minute_interval_file_sink: Invalid rotation time in ctor");
} }