We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dc6ba0 commit 4f975d8Copy full SHA for 4f975d8
libioc/Jail.py
@@ -763,14 +763,17 @@ def _start_dependant_jails(
763
yield jailDependantsStartEvent.skip("No dependant jails")
764
return
765
766
+ def _sort(x: typing.Dict[str, typing.Any]):
767
+ return x.config["priority"]
768
+
769
dependant_jails = sorted(
770
libioc.Jails.JailsGenerator(
771
filters=_depends,
772
host=self.host,
773
logger=self.logger,
774
zfs=self.zfs
775
),
- key=lambda x: x.config["priority"]
776
+ key=_sort
777
)
778
779
for dependant_jail in dependant_jails:
0 commit comments