Skip to content

Commit 9b95033

Browse files
committed
Test lint output
Signed-off-by: lubronzhan <[email protected]>
1 parent 7ee694d commit 9b95033

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/prbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
version: v1.55.2
3333
# TODO: re-enable linting tools package once https://github.com/projectcontour/contour/issues/5077
3434
# is resolved
35-
args: --build-tags=e2e,conformance,gcp,oidc,none
35+
args: --build-tags=e2e,conformance,gcp,oidc,none --out-${NO_FUTURE}format=colored-line-number
3636
- uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0
3737
with:
3838
status: ${{ job.status }}

internal/provisioner/objects/rbac/rolebinding/role_binding.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ func EnsureRoleBindingsInNamespaces(ctx context.Context, cli client.Client, name
5454
updater := func(ctx context.Context, cli client.Client, current, desired *rbacv1.RoleBinding) error {
5555
return updateRoleBindingIfNeeded(ctx, cli, contour, current, desired)
5656
}
57-
objects.EnsureObject(ctx, cli, desired, updater, &rbacv1.RoleBinding{})
57+
err := objects.EnsureObject(ctx, cli, desired, updater, &rbacv1.RoleBinding{})
58+
errs = append(errs, err)
5859
}
5960

6061
return kerrors.NewAggregate(errs)

0 commit comments

Comments
 (0)