Permalink
Browse files

Delete unused function

Signed-off-by: Xiaobing Jiang <s7v7nislands@gmail.com>
  • Loading branch information...
s7v7nislands committed Sep 8, 2017
1 parent 5274430 commit c795b8690b1afec38e4a3d3a96a4f45c0e2198b9
Showing with 0 additions and 4 deletions.
  1. +0 −2 libcontainer/specconv/example.go
  2. +0 −2 spec.go
@@ -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
@@ -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)

0 comments on commit c795b86

Please sign in to comment.