From 5d01a41a62483b39caa5ab1fa9f478e7eae4254d Mon Sep 17 00:00:00 2001 From: Adrien Barreau Date: Fri, 1 Sep 2023 14:31:34 +0000 Subject: [PATCH] fix: revert typo in configuration paths Signed-off-by: Adrien Barreau --- go.mod | 5 +++++ ovh/configuration.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index fb0de77..95cffcb 100644 --- a/go.mod +++ b/go.mod @@ -12,3 +12,8 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/stretchr/testify v1.8.2 // indirect ) + +retract ( + v1.4.1 // Configuration fetch from wrong folder + v1.4.0 // Configuration fetch from wrong folder +) diff --git a/ovh/configuration.go b/ovh/configuration.go index b648c0f..7dbea7a 100644 --- a/ovh/configuration.go +++ b/ovh/configuration.go @@ -11,7 +11,7 @@ import ( var configPaths = []string{ // System wide configuration - "/etc/ovh.com", + "/etc/ovh.conf", // Configuration in user's home "~/.ovh.conf", // Configuration in local folder