Adding context timeout to login and get location operations (#432)

This commit is contained in:
Lenin Alevski
2020-11-30 14:24:30 -08:00
committed by GitHub
parent 4a27ef4b2c
commit 94c3ade7fc
5 changed files with 18 additions and 14 deletions

View File

@@ -18,6 +18,7 @@ var (
errorGenericUnauthorized = errors.New("unauthorized")
errorGenericForbidden = errors.New("forbidden")
errorGenericNotFound = errors.New("not found")
errConnectingToMinio = errors.New("unable to connect to MinIO instance")
// Explicit error messages
errorInvalidErasureCodingValue = errors.New("invalid Erasure Coding Value")
errorUnableToGetTenantUsage = errors.New("unable to get tenant usage")