diff --git a/mocks/storeserver/storeserver/main.go b/mocks/storeserver/storeserver/main.go index e577000d8..71fbb54f5 100644 --- a/mocks/storeserver/storeserver/main.go +++ b/mocks/storeserver/storeserver/main.go @@ -10,7 +10,7 @@ import ( func serverFactory(settings restserver.Settings) restserver.Server { //nolint:forcetypeassert // Let the type coersion panic on failure. - return storemockserver.NewServer(settings.(storemockserver.Settings)) + return storemockserver.NewServer(*settings.(*storemockserver.Settings)) } func main() {