Delete unused function

Signed-off-by: Xiaobing Jiang <s7v7nislands@gmail.com>
This commit is contained in:
s7v7nislands 2017-09-08 10:35:46 +08:00
parent 5274430fee
commit c795b8690b
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)