Mark NodeNotReady for docker version below 1.6.2
This commit is contained in:
@@ -51,6 +51,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
RktType = "rkt"
|
||||
|
||||
acVersion = "0.7.1"
|
||||
minimumRktVersion = "0.9.0"
|
||||
recommendRktVersion = "0.9.0"
|
||||
@@ -864,6 +866,10 @@ func (r *Runtime) GetPodStatus(pod *api.Pod) (*api.PodStatus, error) {
|
||||
return r.getPodStatus(serviceName)
|
||||
}
|
||||
|
||||
func (r *Runtime) Type() string {
|
||||
return RktType
|
||||
}
|
||||
|
||||
// Version invokes 'rkt version' to get the version information of the rkt
|
||||
// runtime on the machine.
|
||||
// The return values are an int array containers the version number.
|
||||
|
Reference in New Issue
Block a user