fix: disable client warnings
This commit is contained in:
parent
7aea462ab7
commit
9b8cb38496
|
@ -30,6 +30,7 @@ func InitFiles() {
|
||||||
client = resty.New()
|
client = resty.New()
|
||||||
client.SetBaseURL(renterd.GetApiAddr() + "/api")
|
client.SetBaseURL(renterd.GetApiAddr() + "/api")
|
||||||
client.SetBasicAuth("", renterd.GetAPIPassword())
|
client.SetBasicAuth("", renterd.GetAPIPassword())
|
||||||
|
client.SetDisableWarn(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FilesService) PostUpload() {
|
func (f *FilesService) PostUpload() {
|
||||||
|
|
Loading…
Reference in New Issue