rename default config file

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-28 17:14:47 -07:00
parent 6552687139
commit 17f5afe61e
3 changed files with 2 additions and 5 deletions

View File

@ -48,10 +48,7 @@ json-readable:
cat ~/.config/cloud-control-panel.json |jq -r --tab
json-restore:
cp resources/protobuf-config.json ~/.config/cloud-control-panel.json
json-test:
cp resources/test.json ~/.config/cloud-control-panel.json
cp resources/cloud-control-panel.json ~/.config/cloud-control-panel.json
json-delete:
mv ~/.config/cloud-control-panel.json /tmp

View File

@ -172,7 +172,7 @@ func loadConfigFromFilename(filename string) pb.Config {
func loadDefaultConfig() pb.Config {
log.Println("TRY TO LOAD DEFAULT CONFIG")
// defaultConfig, _ := packrBox.FindString("protobuf-config.json")
b, err := packrBox.FindString("protobuf-small.json")
b, err := packrBox.FindString("cloud-control-panel.json")
log.Println("b =", b)
log.Println("err =", err)
// var newpb *pb.Config