mirror of
https://github.com/Oxalide/vsphere-influxdb-go.git
synced 2023-10-10 13:36:51 +02:00
test 2
This commit is contained in:
parent
b16cc794ca
commit
86b401fae0
@ -632,7 +632,7 @@ func main() {
|
|||||||
|
|
||||||
stdlog.Println("Starting :", path.Base(os.Args[0]))
|
stdlog.Println("Starting :", path.Base(os.Args[0]))
|
||||||
// read the configuration
|
// read the configuration
|
||||||
file, err := os.Open("/etc/" + path.Base(os.Args[0]) + ".json")
|
file, err := os.Open(path.Base(os.Args[0]) + ".json")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errlog.Println("Could not open configuration file")
|
errlog.Println("Could not open configuration file")
|
||||||
errlog.Println(err)
|
errlog.Println(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user