From 9b8cb38496541b0ab50d28eef63658f9723c5802 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 6 May 2023 03:56:38 -0400 Subject: [PATCH] fix: disable client warnings --- service/files_service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/service/files_service.go b/service/files_service.go index aab4eb2..473eb2e 100644 --- a/service/files_service.go +++ b/service/files_service.go @@ -30,6 +30,7 @@ func InitFiles() { client = resty.New() client.SetBaseURL(renterd.GetApiAddr() + "/api") client.SetBasicAuth("", renterd.GetAPIPassword()) + client.SetDisableWarn(true) } func (f *FilesService) PostUpload() {