mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
rename probe.Status to probe.Result.
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user