From 7bc3b91b7235b141634280cacdf733b38d1ae044 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 28 Feb 2018 10:11:42 -0500 Subject: [PATCH] Fix interface error in server test --- integrations/helpers_test.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/integrations/helpers_test.go b/integrations/helpers_test.go index b7cb698e7..282c2c600 100644 --- a/integrations/helpers_test.go +++ b/integrations/helpers_test.go @@ -178,7 +178,8 @@ type serverInfo struct { hostname, version, - product string + product, + platform string numTasks, numEnabledTasks, @@ -217,6 +218,10 @@ func (i serverInfo) Product() string { return i.product } +func (i serverInfo) Platform() string { + return i.platform +} + func (i serverInfo) NumTasks() int64 { return i.numTasks }