Correcting an error message

This commit is contained in:
Brian Evans 2019-11-11 16:07:50 -08:00
parent 2038c9c4ac
commit 34e9e109e2
1 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ func Fetch(host, port, resource string, td *TofuDigest) ([]byte, error) {
case 5: case 5:
return make([]byte, 0), fmt.Errorf("[5] Permanent Failure.") return make([]byte, 0), fmt.Errorf("[5] Permanent Failure.")
case 6: case 6:
return make([]byte, 0), fmt.Errorf("[6] Client Certificate Required (Not supported by Bombadillo)") return make([]byte, 0), fmt.Errorf("[6] Client Certificate Required")
default: default:
return make([]byte, 0), fmt.Errorf("Invalid response status from server") return make([]byte, 0), fmt.Errorf("Invalid response status from server")
} }
@ -334,7 +334,7 @@ func Visit(host, port, resource string, td *TofuDigest) (Capsule, error) {
case 5: case 5:
return capsule, fmt.Errorf("[5] Permanent Failure. %s", header[1]) return capsule, fmt.Errorf("[5] Permanent Failure. %s", header[1])
case 6: case 6:
return capsule, fmt.Errorf("[6] Client Certificate Required (Not supported by Bombadillo)") return capsule, fmt.Errorf("[6] Client Certificate Required")
default: default:
return capsule, fmt.Errorf("Invalid response status from server") return capsule, fmt.Errorf("Invalid response status from server")
} }