From 33fd3701cd72a776ea8f017e925e6e12606d3965 Mon Sep 17 00:00:00 2001 From: wojtekt Date: Wed, 14 Aug 2019 16:23:03 +0200 Subject: [PATCH] Implement Encoder.Identifier() method Kubernetes-commit: cd4215ad8b95773a793f69fc2e8bf93c7ede97aa --- rest/config_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rest/config_test.go b/rest/config_test.go index df5778ce..06915567 100644 --- a/rest/config_test.go +++ b/rest/config_test.go @@ -190,6 +190,10 @@ func (c *fakeCodec) Encode(obj runtime.Object, stream io.Writer) error { return nil } +func (c *fakeCodec) Identifier() runtime.Identifier { + return runtime.Identifier("fake") +} + type fakeRoundTripper struct{} func (r *fakeRoundTripper) RoundTrip(*http.Request) (*http.Response, error) {