rename probe.Status to probe.Result.

This commit is contained in:
Mike Danese
2015-01-30 17:03:57 -08:00
parent 8e6f5c7201
commit 14bfec92f2
14 changed files with 22 additions and 23 deletions

View File

@@ -16,16 +16,16 @@ limitations under the License.
package probe
type Status int
type Result int
// Status values must be one of these constants.
const (
Success Status = iota
Success Result = iota
Failure
Unknown
)
func (s Status) String() string {
func (s Result) String() string {
switch s {
case Success:
return "success"