rename default config file
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
6552687139
commit
17f5afe61e
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue