@@ -204,26 +204,26 @@ func (s *ServiceConfig) NetworksByPriority() []string {
204204}
205205
206206const (
207- //PullPolicyAlways always pull images
207+ // PullPolicyAlways always pull images
208208 PullPolicyAlways = "always"
209- //PullPolicyNever never pull images
209+ // PullPolicyNever never pull images
210210 PullPolicyNever = "never"
211- //PullPolicyIfNotPresent pull missing images
211+ // PullPolicyIfNotPresent pull missing images
212212 PullPolicyIfNotPresent = "if_not_present"
213- //PullPolicyMissing pull missing images
213+ // PullPolicyMissing pull missing images
214214 PullPolicyMissing = "missing"
215- //PullPolicyBuild force building images
215+ // PullPolicyBuild force building images
216216 PullPolicyBuild = "build"
217217)
218218
219219const (
220- //RestartPolicyAlways always restart the container if it stops
220+ // RestartPolicyAlways always restart the container if it stops
221221 RestartPolicyAlways = "always"
222- //RestartPolicyOnFailure restart the container if it exits due to an error
222+ // RestartPolicyOnFailure restart the container if it exits due to an error
223223 RestartPolicyOnFailure = "on-failure"
224- //RestartPolicyNo do not automatically restart the container
224+ // RestartPolicyNo do not automatically restart the container
225225 RestartPolicyNo = "no"
226- //RestartPolicyUnlessStopped always restart the container unless the container is stopped (manually or otherwise)
226+ // RestartPolicyUnlessStopped always restart the container unless the container is stopped (manually or otherwise)
227227 RestartPolicyUnlessStopped = "unless-stopped"
228228)
229229
0 commit comments