Merge pull request #18473 from smarterclayton/change_runtime_object
Auto commit by PR queue bot
This commit is contained in:
@@ -22,6 +22,7 @@ import (
|
||||
|
||||
"github.com/coreos/go-etcd/etcd"
|
||||
"github.com/golang/glog"
|
||||
"k8s.io/kubernetes/pkg/api/unversioned"
|
||||
etcdutil "k8s.io/kubernetes/pkg/storage/etcd/util"
|
||||
"k8s.io/kubernetes/pkg/util"
|
||||
"k8s.io/kubernetes/pkg/watch"
|
||||
@@ -34,7 +35,7 @@ type Master string
|
||||
// TODO(k8s): Either fix watch so this isn't necessary, or make this a real API Object.
|
||||
// TODO(k8s): when it becomes clear how this package will be used, move these declarations to
|
||||
// to the proper place.
|
||||
func (Master) IsAnAPIObject() {}
|
||||
func (obj Master) GetObjectKind() unversioned.ObjectKind { return unversioned.EmptyObjectKind }
|
||||
|
||||
// NewEtcdMasterElector returns an implementation of election.MasterElector backed by etcd.
|
||||
func NewEtcdMasterElector(h *etcd.Client) MasterElector {
|
||||
|
Reference in New Issue
Block a user