Skip to content

Commit 44e480a

Browse files
authored
Update splunkversioncontrol_restore_class.py
1 parent 2ed9e8c commit 44e480a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/splunkversioncontrol_restore_class.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,6 +1695,7 @@ def run_script(self, restlist_override=None, config_override=None):
16951695
#If the app is not known, the restore stops here as we have nothing to restore from!
16961696
if app not in knownAppList:
16971697
logger.error("i=\"%s\" user=%s requested a restore from app=%s but this is not in the knownAppList therefore restore cannot occur, object=%s of type=%s to be restored with user=%s and time=%s" % (self.stanza_name, user, app, name, obj_type, restore_as_user, time))
1698+
message = f"i=\"{self.stanza_name}\" user={user} requested a restore from app={app} but this is not in the knownAppList therefore restore cannot occur, object={name} of type={obj_type} to be restored with user={restore_as_user} and time={time}"
16981699
continue
16991700

17001701
#Deal with the different types of restores that might be required, we only do one row at a time...

0 commit comments

Comments
 (0)