forked from sloum/bombadillo
Correcting an error message
This commit is contained in:
parent
2038c9c4ac
commit
34e9e109e2
|
@ -256,7 +256,7 @@ func Fetch(host, port, resource string, td *TofuDigest) ([]byte, error) {
|
|||
case 5:
|
||||
return make([]byte, 0), fmt.Errorf("[5] Permanent Failure.")
|
||||
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:
|
||||
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:
|
||||
return capsule, fmt.Errorf("[5] Permanent Failure. %s", header[1])
|
||||
case 6:
|
||||
return capsule, fmt.Errorf("[6] Client Certificate Required (Not supported by Bombadillo)")
|
||||
return capsule, fmt.Errorf("[6] Client Certificate Required")
|
||||
default:
|
||||
return capsule, fmt.Errorf("Invalid response status from server")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue