You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by zh...@apache.org on 2022/04/21 01:40:31 UTC

[apisix-ingress-controller] branch master updated: chore: Fix some code formats (#968)

This is an automated email from the ASF dual-hosted git repository.

zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 4a0fc0c4 chore: Fix some code formats (#968)
4a0fc0c4 is described below

commit 4a0fc0c4b91650bf073047f64c76e82080f3578f
Author: Gallardot <tt...@163.com>
AuthorDate: Thu Apr 21 09:40:28 2022 +0800

    chore: Fix some code formats (#968)
---
 pkg/api/router/apisix_healthz.go  |  2 +-
 test/e2e/scaffold/upstream_tls.go | 28 +++++++++++++---------------
 2 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/pkg/api/router/apisix_healthz.go b/pkg/api/router/apisix_healthz.go
index 63b871db..3ce7f43d 100644
--- a/pkg/api/router/apisix_healthz.go
+++ b/pkg/api/router/apisix_healthz.go
@@ -21,7 +21,7 @@ import (
 	"github.com/gin-gonic/gin"
 )
 
-// MountWebhooks mounts apisix healthz route.
+// MountApisixHealthz mounts apisix healthz route.
 func MountApisixHealthz(r *gin.Engine, state *HealthState) {
 	r.GET("/apisix/healthz", apisixHealthz(state))
 }
diff --git a/test/e2e/scaffold/upstream_tls.go b/test/e2e/scaffold/upstream_tls.go
index a6645960..685f5ea2 100644
--- a/test/e2e/scaffold/upstream_tls.go
+++ b/test/e2e/scaffold/upstream_tls.go
@@ -1,20 +1,18 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you 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
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements.  See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You 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.
+//     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 scaffold
 
 import (