Use logger not printf

This commit is contained in:
Owen
2026-06-04 16:57:51 -07:00
parent 0beee679ca
commit 3ef2550687
11 changed files with 75 additions and 78 deletions
+2 -3
View File
@@ -7,7 +7,6 @@ import (
"encoding/json"
"fmt"
"io"
"log"
"net/http"
"net/url"
"os"
@@ -38,7 +37,7 @@ func getConfigPath(clientType string, overridePath string) string {
}
if err := os.MkdirAll(configDir, 0755); err != nil {
log.Printf("Failed to create config directory: %v", err)
logger.Debug("Failed to create config directory: %v", err)
}
return filepath.Join(configDir, "config.json")
@@ -279,4 +278,4 @@ func (c *Client) provisionIfNeeded() error {
}
return nil
}
}