Commit 111c4e2f authored by Guido Trotter's avatar Guido Trotter
Browse files

Fix _UpgradeConfig docstring


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent ebb80afa
......@@ -1237,9 +1237,11 @@ class ConfigWriter:
This is because some data elements need uniqueness across the
whole configuration, etc.
@warning: this function will call L{_WriteConfig()}, so it needs
to either be called with the lock held or from a safe place
(the constructor)
@warning: this function will call L{_WriteConfig()}, but also
L{DropECReservations} so it needs to be called only from a
"safe" place (the constructor). If one wanted to call it with
the lock held, a DropECReservationUnlocked would need to be
created first, to avoid causing deadlock.
"""
modified = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment