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:
parent
d8f101eded
commit
f4a61c416c
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user