madmin: Rename HealObjectResult to HealResult (#4035)

madmin.HealObjectResult is used in HealObject and HealUpload. It only
makes sense to rename it to HealResult.
This commit is contained in:
Krishnan Parthasarathi
2017-04-03 20:55:32 +05:30
committed by Harshavardhana
parent 3bf67668b6
commit 96c46c15e7
2 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -242,7 +242,7 @@ __Example__
```
<a name="HealObject"></a>
### HealObject(bucket, object string, isDryRun bool) (HealObjectResult, error)
### HealObject(bucket, object string, isDryRun bool) (HealResult, error)
If object is successfully healed returns nil, otherwise returns error indicating the reason for failure. If isDryRun is true, then the object is not healed, but heal object request is validated by the server. e.g, if the object exists, if object name is valid etc.
__Example__
@@ -324,7 +324,7 @@ __Example__
```
<a name="HealUpload"></a>
### HealUpload(bucket, object, uploadID string, isDryRun bool) (HealObjectResult, error)
### HealUpload(bucket, object, uploadID string, isDryRun bool) (HealResult, error)
If upload is successfully healed returns nil, otherwise returns error indicating the reason for failure. If isDryRun is true, then the upload is not healed, but heal upload request is validated by the server. e.g, if the upload exists, if upload name is valid etc.
``` go