Browse Source

Merge pull request #667 from gravitl/bugfix_v0.10.0_path_fix

fix path in MessageQueue func
dcarns 3 years ago
parent
commit
62fad34cb3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netclient/functions/daemon.go

+ 1 - 1
netclient/functions/daemon.go

@@ -121,7 +121,7 @@ func MessageQueue(ctx context.Context, network string) {
 	var cfg config.ClientConfig
 	cfg.Network = network
 	ncutils.Log("pulling latest config for " + cfg.Network)
-	var configPath = fmt.Sprintf("%sconfig/netconfig-%s", ncutils.GetNetclientPathSpecific(), network)
+	var configPath = fmt.Sprintf("%snetconfig-%s", ncutils.GetNetclientPathSpecific(), network)
 	fileInfo, err := os.Stat(configPath)
 	if err != nil {
 		ncutils.Log("could not stat config file: " + configPath)