From 478533ada9cf7ff5732aa5ab36689e25677f1b5a Mon Sep 17 00:00:00 2001 From: zonghaishang <yiji@apache.org> Date: Mon, 3 Jun 2019 20:59:30 +0800 Subject: [PATCH] format code --- cluster/loadbalance/round_robin.go | 13 +++++++++++++ cluster/loadbalance/round_robin_test.go | 1 + 2 files changed, 14 insertions(+) create mode 100644 cluster/loadbalance/round_robin_test.go diff --git a/cluster/loadbalance/round_robin.go b/cluster/loadbalance/round_robin.go index 6b3a46cc2..bce4ebdad 100644 --- a/cluster/loadbalance/round_robin.go +++ b/cluster/loadbalance/round_robin.go @@ -1,3 +1,16 @@ +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package loadbalance import ( diff --git a/cluster/loadbalance/round_robin_test.go b/cluster/loadbalance/round_robin_test.go new file mode 100644 index 000000000..d5fb84e3d --- /dev/null +++ b/cluster/loadbalance/round_robin_test.go @@ -0,0 +1 @@ +package loadbalance -- GitLab