Skip to content

Commit 6f2d085

Browse files
authored
gofmt go1.19 (#1034)
1 parent e9fc7e7 commit 6f2d085

File tree

6 files changed

+21
-19
lines changed

6 files changed

+21
-19
lines changed

pkg/client/istio/clientset/versioned/fake/register.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/istio/clientset/versioned/scheme/register.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/reconciler/ingress/doc.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ limitations under the License.
1515
*/
1616

1717
/*
18-
1918
Package ingress implements a kubernetes controller which tracks Ingress resource
2019
and reconcile VirtualService as its child resource.
21-
2220
*/
2321
package ingress

pkg/reconciler/ingress/ingress.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ func isIngressPublic(ing *v1alpha1.Ingress) bool {
521521

522522
// areVirtualServicesReady checks if *all* the provided virtual services have a status, and if so if it's ready.
523523
// The return values are (hasStatus, ready), where:
524+
//
524525
// hasStatus indicates whether all the virtualServices have a status field
525526
// ready indicates whether they all have been reconciled and are able to receive requests
526527
func (r *Reconciler) areVirtualServicesReady(ctx context.Context, vses []*v1alpha3.VirtualService) (hasStatus, ready bool) {
@@ -547,6 +548,7 @@ func (r *Reconciler) areVirtualServicesReady(ctx context.Context, vses []*v1alph
547548

548549
// isVirtualServiceReady checks if a virtual service has a status, and if so if it's ready.
549550
// The return values are (hasStatus, ready, err), where:
551+
//
550552
// hasStatus indicates whether the virtualService has a status field
551553
// ready indicates whether it's been reconciled and able to receive requests
552554
// err indicates an error occurred while looking up the status.

pkg/reconciler/ingress/ingress_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@ const (
9090
)
9191

9292
// ingressfinalizer is the name that we put into the resource finalizer list, e.g.
93-
// metadata:
94-
// finalizers:
95-
// - ingresses.networking.internal.knative.dev
93+
//
94+
// metadata:
95+
// finalizers:
96+
// - ingresses.networking.internal.knative.dev
9697
var (
9798
ingressResource = v1alpha1.Resource("ingresses")
9899
ingressFinalizer = ingressResource.String()

test/e2e/clients.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16+
1617
package e2e
1718

1819
import (

0 commit comments

Comments
 (0)