fix(cmd): configPath variable

This commit is contained in:
2019-06-15 14:25:45 +02:00
parent 258ac998be
commit 82faa1d536
7 changed files with 20 additions and 18 deletions

View File

@ -18,7 +18,7 @@ var listTemperatureCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
// read configuration
cnf, err := config.Read(cnfPath)
cnf, err := config.Read(configPath)
if err != nil {
log.Fatalln(err)
}