Skip to content

Commit

Permalink
Release from Develop (#279)
Browse files Browse the repository at this point in the history
* fix: address was taken from wrong place (#275)

* chore(release): 1.0.4-beta.1

## [1.0.4-beta.1](v1.0.3...v1.0.4-beta.1) (2021-12-16)

### Bug Fixes

* address was taken from wrong place ([#275](#275)) ([1817f06](1817f06))

Co-authored-by: weliasz <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
  • Loading branch information
3 people authored Dec 17, 2021
2 parents 6a7ddfe + 398f3ae commit 6f7fac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion splunk_connect_for_snmp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@


__version__ = "1.0.5"

4 changes: 2 additions & 2 deletions splunk_connect_for_snmp/enrich/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ def check_restart(self, current_target, result, targets_collection, address):
logger.debug(f"new_value = {new_value} old_value = {old_value}")
if int(new_value) < int(old_value):
task_config = {
"name": f'sc4snmp;{current_target["target"]};walk',
"name": f'sc4snmp;{address};walk',
"run_immediately": True,
}
logger.info(
f'Detected restart of {current_target["target"]}, triggering walk'
f'Detected restart of {address}, triggering walk'
)
periodic_obj = customtaskmanager.CustomPeriodicTaskManager()
periodic_obj.manage_task(**task_config)
Expand Down

0 comments on commit 6f7fac1

Please sign in to comment.