This commit is contained in:
parent
ab925c4b2c
commit
0c2c136413
|
@ -4,6 +4,7 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/knadh/koanf/providers/confmap"
|
||||
"github.com/knadh/koanf/providers/posflag"
|
||||
|
@ -33,7 +34,7 @@ func main() {
|
|||
|
||||
log.Print("Loading config")
|
||||
// Load the config file
|
||||
pfConfig, _ := config.LoadConfig()
|
||||
pfConfig, configFileProvider := config.LoadConfig()
|
||||
log.Printf("%v", pfConfig)
|
||||
pfConfig.Print()
|
||||
|
||||
|
|
Loading…
Reference in a new issue