mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
app resource: fix boring test edge case related to the initial properties object being modified
This commit is contained in:
parent
61a6d5bbac
commit
cddfafaa55
1 changed files with 1 additions and 1 deletions
|
@ -940,7 +940,7 @@ class DatabaseAppResource(AppResource):
|
|||
# Hack so that people can write type = "mysql/postgresql" in toml but it's loaded as dbtype
|
||||
# to avoid conflicting with the generic self.type of the resource object ...
|
||||
# dunno if that's really a good idea :|
|
||||
properties["dbtype"] = properties.pop("type")
|
||||
properties = {"dbtype": properties["type"]}
|
||||
|
||||
super().__init__(properties, *args, **kwargs)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue