Oops, break should have been continue
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: bbbc720620befd1ba6f1ff9b0ac69a590bdac68e Component: engine
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user