mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
log: Previous trick about getting rid of setting didnt work, forgot to use metadata instead of self.metadata
This commit is contained in:
parent
2a16f289ea
commit
848adf89c8
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ class OperationLogger:
|
|||
k: v for k, v in metadata["env"].items() if k == k.upper()
|
||||
}
|
||||
|
||||
dump = yaml.safe_dump(self.metadata, default_flow_style=False)
|
||||
dump = yaml.safe_dump(metadata, default_flow_style=False)
|
||||
for data in self.data_to_redact:
|
||||
# N.B. : we need quotes here, otherwise yaml isn't happy about loading the yml later
|
||||
dump = dump.replace(data, "'**********'")
|
||||
|
|
Loading…
Add table
Reference in a new issue