From 92f7fff4acdef195c0a8e62ac981fc762dbc78e0 Mon Sep 17 00:00:00 2001 From: hlts2 Date: Wed, 23 Sep 2020 12:35:06 +0900 Subject: [PATCH] fix: fatal error Signed-off-by: hlts2 --- pkg/manager/replication/controller/handler/rest/handler_test.go | 2 +- pkg/manager/replication/controller/handler/rest/option_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/manager/replication/controller/handler/rest/handler_test.go b/pkg/manager/replication/controller/handler/rest/handler_test.go index b687f22cf7..ca173ba6b4 100644 --- a/pkg/manager/replication/controller/handler/rest/handler_test.go +++ b/pkg/manager/replication/controller/handler/rest/handler_test.go @@ -105,7 +105,7 @@ func Test_handler_Index(t *testing.T) { r *http.Request } type fields struct { - rpl controller.ReplicationServer + rpl controller.ReplicationControllerServer } type want struct { want int diff --git a/pkg/manager/replication/controller/handler/rest/option_test.go b/pkg/manager/replication/controller/handler/rest/option_test.go index 9cf255ed70..1af654f20b 100644 --- a/pkg/manager/replication/controller/handler/rest/option_test.go +++ b/pkg/manager/replication/controller/handler/rest/option_test.go @@ -28,7 +28,7 @@ import ( func TestWithReplicator(t *testing.T) { type T = interface{} type args struct { - rpl controller.ReplicationServer + rpl controller.ReplicationControllerServer } type want struct { obj *T