dockupdater/lib/scanner.py
def stops_before_update(self, container_or_service):
        """Stop some containers/services before update"""
        self.logger.debug("Checking to stop containers/services")
        for stop in container_or_service.config.stops:
            stop.tokens = {"stack": container_or_service.stack_name}
            for container_or_service in self.get_all_services_containers(stop):
                self.logger.info(f"Stopping {container_or_service.name} before update")
                container_or_service.stop()
Stop some containers/services before update
Stop some containers/services before update
Stop some containers / services before update
def stops_before_update(self, container_or_service):
        self.logger.debug("Checking to stop containers/services")
        for stop in container_or_service.config.stops:
            stop.tokens = {"stack": container_or_service.stack_name}
            for container_or_service in self.get_all_services_containers(stop):
                self.logger.info(f"Stopping {container_or_service.name} before update")
                container_or_service.stop()
def stops_before_update ( self , container_or_service ) : self . logger . debug ( "Checking to stop containers/services" ) for stop in container_or_service . config . stops : stop . tokens = { "stack" : container_or_service . stack_name } for container_or_service in self . get_all_services_containers ( stop ) : self . logger . info ( f"Stopping {container_or_service.name} before update" ) container_or_service . stop ( )
Stop some containers/services before update
Stop some containers / services before update
"""Stop some containers/services before update"""
self
container_or_service