Oops, break should have been continue
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
8c508ef813
commit
bbbc720620
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue