Skip to content

Commit f877aec

Browse files
tamilmani1989sharmasushant
authored andcommitted
created filestore directory in cns (#103)
1 parent 1518e88 commit f877aec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cns/service/main.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,12 @@ func main() {
154154
return
155155
}
156156

157+
err = acn.CreateDirectory(platform.CNMRuntimePath)
158+
if err != nil {
159+
fmt.Printf("Failed to create File Store directory Error:%v", err.Error())
160+
return
161+
}
162+
157163
// Create the key value store.
158164
pluginConfig.Store, err = store.NewJsonFileStore(platform.CNMRuntimePath + pluginName + ".json")
159165
if err != nil {

0 commit comments

Comments
 (0)