From aab485f6bdd5470564c17a6b1fbe7d62e3c95b4e Mon Sep 17 00:00:00 2001 From: Tamilmani Manoharan Date: Wed, 7 Mar 2018 15:00:12 -0800 Subject: [PATCH] created filestore directory in cns --- cns/service/main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cns/service/main.go b/cns/service/main.go index 21f92c94da..62b6c88fd3 100644 --- a/cns/service/main.go +++ b/cns/service/main.go @@ -154,6 +154,12 @@ func main() { return } + err = acn.CreateDirectory(platform.CNMRuntimePath) + if err != nil { + fmt.Printf("Failed to create File Store directory Error:%v", err.Error()) + return + } + // Create the key value store. pluginConfig.Store, err = store.NewJsonFileStore(platform.CNMRuntimePath + pluginName + ".json") if err != nil {