File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ def updateEnabledContainers():
7676
7777 containerDiff = getDiff (containers , newContainers )
7878
79- logger .info (f"Found { newContainers .count ()} Containers" )
79+ logger .info (f"Found { newContainers .__len__ ()} Containers" )
8080
81- logger .debug (f"Found { containerDiff .get ("added" ).count ()} added Containers" )
82- logger .debug (f"Found { containerDiff .get ("removed" ).count ()} removed Containers" )
81+ logger .debug (f"Found { containerDiff .get ("added" ).__len__ ()} added Containers" )
82+ logger .debug (f"Found { containerDiff .get ("removed" ).__len__ ()} removed Containers" )
8383
8484 # Threading
8585 # with containerToHostLock and containerLock:
@@ -174,7 +174,7 @@ def main():
174174 globalDiff = cleanDiff (globalDiff )
175175
176176 # Check if there is actually any Diff
177- if globalDiff .get ("removed" ).count () + globalDiff .get ("added" ).count () <= 0 :
177+ if globalDiff .get ("removed" ).__len__ () + globalDiff .get ("added" ).__len__ () <= 0 :
178178 logger .debug ("No Changes were made, skipping..." )
179179
180180 return
You can’t perform that action at this time.
0 commit comments