From 0b76a65033c7075db90a8822829e59b14cddfc7e Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Thu, 20 Oct 2016 14:51:38 -0400 Subject: [PATCH] Set the version to what kubelet expects Signed-off-by: Mrunal Patel --- server/version.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/version.go b/server/version.go index 5295aebe..69b5999b 100644 --- a/server/version.go +++ b/server/version.go @@ -1,8 +1,8 @@ package server import ( - pb "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime" "golang.org/x/net/context" + pb "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime" ) // Version returns the runtime name, runtime version and runtime API version @@ -17,6 +17,9 @@ func (s *Server) Version(ctx context.Context, req *pb.VersionRequest) (*pb.Versi return nil, err } + // TODO: Track upstream code. For now it expects 0.1.0 + version = "0.1.0" + // taking const address rav := runtimeAPIVersion runtimeName := s.runtime.Name()