Skip to content

Commit ea975de

Browse files
authored
Fix copy paste error in base_agent.py
The logger was referencing `archive_file` instead of `transform_file`.
1 parent 53d58b4 commit ea975de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

psconfig/perfsonar-psconfig/psconfig/base_agent.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def run(self):
256256

257257
for transform_file in transform_files:
258258
log_ctx = {"transform_file" : transform_file}
259-
self.logger.debug(self.logf.format("Loading transform file {}".format(archive_file), log_ctx))
259+
self.logger.debug(self.logf.format("Loading transform file {}".format(transform_file), log_ctx))
260260

261261
transform_client = TransformConnect(url=transform_file)
262262
transform = transform_client.get_config()
@@ -697,4 +697,4 @@ def validate(self):
697697
validator = jsonvalidate(instance=self.data, schema=schema)
698698
return []
699699
except Exception as e:
700-
return [e]
700+
return [e]

0 commit comments

Comments
 (0)