File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,9 +171,9 @@ def update_dict_from_path(path, value):
171171
172172 timestamp = int (time .time ())
173173 backup_configurations = os .path .join (self .configuration_directory , 'config_backups/' )
174- suricata_config_backup = os .path .join (backup_configurations , 'logstash.yaml .backup.{}' .format (timestamp ))
174+ logstash_config_backup = os .path .join (backup_configurations , 'logstash.yml .backup.{}' .format (timestamp ))
175175 subprocess .call ('mkdir -p {}' .format (backup_configurations ), shell = True )
176- shutil .copy (os .path .join (self .configuration_directory , 'logstash.yml' ), suricata_config_backup )
176+ shutil .copy (os .path .join (self .configuration_directory , 'logstash.yml' ), logstash_config_backup )
177177
178178 for k , v in vars (self ).items ():
179179 if k not in self .tokens :
You can’t perform that action at this time.
0 commit comments