Merge branch 'master' into master

This commit is contained in:
Hossein Shafagh
2020-03-23 20:31:16 -07:00
committed by GitHub
2 changed files with 14 additions and 8 deletions

View File

@ -445,6 +445,9 @@ def update_destinations(target, value, initiator):
"""
destination_plugin = plugins.get(value.plugin_name)
status = FAILURE_METRIC_STATUS
if target.expired:
return
try:
if target.private_key or not destination_plugin.requires_key:
destination_plugin.upload(