We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41338b8 commit b525f6eCopy full SHA for b525f6e
modules/utils.py
@@ -323,7 +323,8 @@ def _set_config_val(k,v):
323
g.monitor_config[mid][k] = v
324
else:
325
try:
326
- g.monitor_polygons[mid].append({'name': k, 'value': str2tuple(v),'pattern': None})
+ p = str2tuple(v) # if not poly, exception will be thrown
327
+ g.monitor_polygons[mid].append({'name': k, 'value': p,'pattern': None})
328
g.logger.Debug(2,'adding polygon: {} [{}]'.format(k, v ))
329
except Exception as e:
330
g.logger.Debug(2,'{} is not a polygon, adding it as unknown string key'.format(k))
0 commit comments