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

Oops, break should have been continue

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2016-09-19 14:41:27 -07:00
parent 8c508ef813
commit bbbc720620

View file

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