MCPcopy Index your code
hub / github.com/docker/docker-py / force_update

Method force_update

docker/models/services.py:135–143  ·  view source on GitHub ↗

Force update the service even if no changes require it. Returns: bool: ``True`` if successful.

(self)

Source from the content-addressed store, hash-verified

133 fetch_current_spec=True)
134
135 def force_update(self):
136 """
137 Force update the service even if no changes require it.
138
139 Returns:
140 bool: ``True`` if successful.
141 """
142
143 return self.update(force_update=True, fetch_current_spec=True)
144
145
146class ServiceCollection(Collection):

Calls 1

updateMethod · 0.95