mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-27 11:04:21 +01:00
When imported, the vc files carried in the 'full style' apache license text, but the standard for kata is to use SPDX style. Update the relevant files to SPDX. Fixes: #227 Signed-off-by: Graham whaley <graham.whaley@intel.com>
21 lines
557 B
Go
21 lines
557 B
Go
// Copyright (c) 2017 Intel Corporation
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package virtcontainers
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// common error objects used for argument checking
|
|
var (
|
|
errNeedSandbox = errors.New("Sandbox must be specified")
|
|
errNeedSandboxID = errors.New("Sandbox ID cannot be empty")
|
|
errNeedContainerID = errors.New("Container ID cannot be empty")
|
|
errNeedFile = errors.New("File cannot be empty")
|
|
errNeedState = errors.New("State cannot be empty")
|
|
errInvalidResource = errors.New("Invalid sandbox resource")
|
|
)
|