1
0
mirror of https://github.com/Oxalide/vsphere-influxdb-go.git synced 2023-10-10 13:36:51 +02:00

Println takes variadic arguments

This commit is contained in:
ADO 2017-05-24 14:01:09 +02:00
parent d8f101eded
commit f4a61c416c

View File

@ -705,7 +705,7 @@ func main() {
// read the configuration
file, err := os.Open(*cfgFile)
if err != nil {
errlog.Println("Could not open configuration file " + *cfgFile)
errlog.Println("Could not open configuration file", *cfgFile)
errlog.Println(err)
}
@ -713,7 +713,7 @@ func main() {
config := Configuration{}
err = jsondec.Decode(&config)
if err != nil {
errlog.Println("Could not decode configuration file " + *cfgFile)
errlog.Println("Could not decode configuration file", *cfgFile)
errlog.Println(err)
}