Merge branch '770-Bug_module_max,_module_min_en_Windows_Server_2016' into 'develop'
The min, max limits for agent modules were exclusives, now are inclusives - #770 See merge request !445
This commit is contained in:
commit
cba6f13a3d
|
@ -368,7 +368,7 @@ Pandora_Module::getDataOutput (Pandora_Data *data) {
|
|||
}
|
||||
|
||||
if (this->has_limits) {
|
||||
if (value >= this->max || value <= this->min) {
|
||||
if (value > this->max || value < this->min) {
|
||||
pandoraLog ("The returned value was not in the interval on module %s",
|
||||
this->module_name.c_str ());
|
||||
throw Value_Error ();
|
||||
|
|
Loading…
Reference in New Issue