Merge pull request #835 from zhaoleidd/fix_outdated_comment

Fix outdated comment for loadSpec
This commit is contained in:
Qiang Huang 2016-05-20 20:46:13 -05:00
commit 153b12921c
1 changed files with 0 additions and 1 deletions

View File

@ -224,7 +224,6 @@ func u32Ptr(i int64) *uint32 { u := uint32(i); return &u }
func fmPtr(i int64) *os.FileMode { fm := os.FileMode(i); return &fm } func fmPtr(i int64) *os.FileMode { fm := os.FileMode(i); return &fm }
// loadSpec loads the specification from the provided path. // loadSpec loads the specification from the provided path.
// If the path is empty then the default path will be "config.json"
func loadSpec(cPath string) (spec *specs.Spec, err error) { func loadSpec(cPath string) (spec *specs.Spec, err error) {
cf, err := os.Open(cPath) cf, err := os.Open(cPath)
if err != nil { if err != nil {