Add test -short for non-integration tests
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
4
spec.go
4
spec.go
@@ -23,8 +23,8 @@ func WithArgs(args ...string) SpecOpts {
|
||||
|
||||
// GenerateSpec will generate a default spec from the provided image
|
||||
// for use as a containerd container
|
||||
func GenerateSpec(id string, opts ...SpecOpts) (*specs.Spec, error) {
|
||||
s, err := createDefaultSpec(id)
|
||||
func GenerateSpec(opts ...SpecOpts) (*specs.Spec, error) {
|
||||
s, err := createDefaultSpec()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user