Merge pull request #1981 from LiangZhou-CTY/patch-1

runtime: remove the call to storeSandbox at the end of createSandboxFromConfig
This commit is contained in:
Fabiano Fidêncio
2021-06-11 00:30:39 +02:00
committed by GitHub

View File

@@ -120,11 +120,6 @@ func createSandboxFromConfig(ctx context.Context, sandboxConfig SandboxConfig, f
return nil, err
}
// The sandbox is completely created now, we can store it.
if err = s.storeSandbox(ctx); err != nil {
return nil, err
}
return s, nil
}