mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-23 09:14:27 +01:00
api: add sandbox Delete API
By exporting the existing sandbox delete() function. Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
@@ -85,7 +85,7 @@ func DeleteSandbox(sandboxID string) (VCSandbox, error) {
|
||||
}
|
||||
|
||||
// Delete it.
|
||||
if err := p.delete(); err != nil {
|
||||
if err := p.Delete(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user