1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #26727 from Microsoft/jjh/breakcontinue

Oops, break should have been continue
This commit is contained in:
Vincent Demeester 2016-09-20 11:43:27 +02:00 committed by GitHub
commit fe0d7e0799

View file

@ -96,11 +96,11 @@ func (clnt *client) Create(containerID string, checkpoint string, checkpointDir
for _, option := range options { for _, option := range options {
if s, ok := option.(*ServicingOption); ok { if s, ok := option.(*ServicingOption); ok {
configuration.Servicing = s.IsServicing configuration.Servicing = s.IsServicing
break continue
} }
if s, ok := option.(*FlushOption); ok { if s, ok := option.(*FlushOption); ok {
configuration.IgnoreFlushesDuringBoot = s.IgnoreFlushesDuringBoot configuration.IgnoreFlushesDuringBoot = s.IgnoreFlushesDuringBoot
break continue
} }
} }