From c342f5d23652507ba8c7af9603efad782346b571 Mon Sep 17 00:00:00 2001 From: aerox Date: Mon, 22 Jun 2020 17:43:02 +0800 Subject: [PATCH] format example code, fix ci fail --- example/all/internal/app/demo/engine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/all/internal/app/demo/engine.go b/example/all/internal/app/demo/engine.go index 6198be4262..0fe5ec7dcf 100644 --- a/example/all/internal/app/demo/engine.go +++ b/example/all/internal/app/demo/engine.go @@ -57,9 +57,9 @@ func NewEngine() *Engine { func (eng *Engine) initSentinel() error { var config = sentinel.DefaultConfig() config.FlowRules = append(config.FlowRules, &flow.FlowRule{ - Resource: "GET:/ping", + Resource: "GET:/ping", MetricType: flow.QPS, - Count: 1, + Count: 1, }) return config.InitSentinelCoreComponent() }