Generate spec based on image config
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
44d2ef4db3
commit
597815af7e
2 changed files with 107 additions and 43 deletions
|
@ -41,7 +41,7 @@ type Config struct {
|
|||
}
|
||||
|
||||
func New(ic *plugin.InitContext) (interface{}, error) {
|
||||
path := filepath.Join(ic.State, runtimeName)
|
||||
path := filepath.Join(ic.Root, runtimeName)
|
||||
if err := os.MkdirAll(path, 0700); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue