浏览代码

Merge pull request #26727 from Microsoft/jjh/breakcontinue

Oops, break should have been continue
Vincent Demeester 8 年之前
父节点
当前提交
fe0d7e0799
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      libcontainerd/client_windows.go

+ 2 - 2
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
 		}
 	}