diff --git a/libcontainerd/client_windows.go b/libcontainerd/client_windows.go index f53a421d1c..8bbd96ce98 100644 --- a/libcontainerd/client_windows.go +++ b/libcontainerd/client_windows.go @@ -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 } }