Fix lint error
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
99a7a53309
commit
5475f6b32b
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ func (s *Server) CreatePodSandbox(ctx context.Context, req *pb.CreatePodSandboxR
|
||||||
if _, err = os.Stat(podInfraRootfs); err != nil {
|
if _, err = os.Stat(podInfraRootfs); err != nil {
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
// TODO: Replace by rootfs creation API when it is ready
|
// TODO: Replace by rootfs creation API when it is ready
|
||||||
if err := utils.CreateFakeRootfs(podInfraRootfs, "docker://kubernetes/pause"); err != nil {
|
if err = utils.CreateFakeRootfs(podInfraRootfs, "docker://kubernetes/pause"); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue