Merge pull request #1588 from s7v7nislands/delete_unused

Delete unused function
This commit is contained in:
Mrunal Patel 2017-09-08 17:34:00 -07:00 committed by GitHub
commit 13fa5d2953
2 changed files with 0 additions and 4 deletions

View File

@ -7,8 +7,6 @@ import (
"github.com/opencontainers/runtime-spec/specs-go"
)
func sPtr(s string) *string { return &s }
// Example returns an example spec file, with many options set so a user can
// see what a standard spec file looks like.
func Example() *specs.Spec {

View File

@ -114,8 +114,6 @@ generate a proper rootless spec file.`,
},
}
func sPtr(s string) *string { return &s }
// loadSpec loads the specification from the provided path.
func loadSpec(cPath string) (spec *specs.Spec, err error) {
cf, err := os.Open(cPath)