]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: cpu-map: remove obsolete diag warning about combined ranges
authorWilly Tarreau <w@1wt.eu>
Mon, 22 Aug 2022 08:46:13 +0000 (10:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 22 Aug 2022 08:46:13 +0000 (10:46 +0200)
We used to emit a diag warning in case ranges were used both with the
process and thread part of a thread spec. Now with groups it's not
longer a problem, so let's just kill this warning.

src/cfgparse-global.c

index a7c1a40eadf68c75fdd9c83ce06e3704ce23f22e..18226bb82065384837d8d278e874d63b21c4d71d 100644 (file)
@@ -1134,9 +1134,6 @@ int cfg_parse_global(const char *file, int linenum, char **args, int kwm)
                                        }
                                }
                        }
-
-                       HA_DIAG_WARNING_COND(tgroup != 0x1 && thread != 0x1,
-                                            "parsing [%s:%d] : cpu-map statement is considered invalid and thus ignored as it addresses multiple groups and threads at the same time. At least one of them should be 1 and only 1.", file, linenum);
                }
 #else
                ha_alert("parsing [%s:%d] : '%s' is not enabled, please check build options for USE_CPU_AFFINITY.\n",