From 1220464f2a26f98b8f55330add0b45b862ad9b81 Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Tue, 22 Dec 2015 16:51:23 -0500 Subject: [PATCH] Exclude new groupversion types from protobuf --- pkg/api/unversioned/group_version.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/api/unversioned/group_version.go b/pkg/api/unversioned/group_version.go index be07914f803..a77ea9ef7ce 100644 --- a/pkg/api/unversioned/group_version.go +++ b/pkg/api/unversioned/group_version.go @@ -24,6 +24,8 @@ import ( // GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying // concepts during lookup stages without having partially valid types +// +// +protobuf.options.(gogoproto.goproto_stringer)=false type GroupResource struct { Group string Resource string @@ -46,6 +48,8 @@ func (gr *GroupResource) String() string { // GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion // to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling +// +// +protobuf.options.(gogoproto.goproto_stringer)=false type GroupVersionResource struct { Group string Version string