Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#3526)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/golangci/golangci-lint: v1.50.1 → v1.51.1](golangci/golangci-lint@v1.50.1...v1.51.1)
- [github.com/psf/black: 22.12.0 → 23.1.0](psf/black@22.12.0...23.1.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pre-commit-ci[bot] authored Feb 7, 2023
1 parent 387875b commit 582f31e
Showing 4 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ repos:
types: [go]
pass_filenames: false
- repo: https://github.com/golangci/golangci-lint
rev: v1.50.1
rev: v1.51.1
hooks:
- id: golangci-lint
args: [--new-from-patch=/tmp/diff.patch]
@@ -51,7 +51,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/python-jsonschema/check-jsonschema
1 change: 0 additions & 1 deletion perf-tests/suite/test_ap_reload_perf.py
Original file line number Diff line number Diff line change
@@ -62,7 +62,6 @@ def __init__(self, req_url):
def enable_prometheus_port(
cli_arguments, kube_apis, ingress_controller_prerequisites, crd_ingress_controller_with_ap
) -> None:

namespace = ingress_controller_prerequisites.namespace
port = V1ContainerPort(9113, None, None, "prometheus", "TCP")
print("------------------------- Enable 9113 port in IC ----------------------------")
1 change: 0 additions & 1 deletion tests/suite/test_ingress_mtls.py
Original file line number Diff line number Diff line change
@@ -47,7 +47,6 @@ def setup_policy(kube_apis, test_namespace, mtls_secret, tls_secret, policy):


def teardown_policy(kube_apis, test_namespace, tls_secret, pol_name, mtls_secret):

print("Delete policy and related secrets")
delete_secret(kube_apis.v1, tls_secret, test_namespace)
delete_policy(kube_apis.custom_objects, pol_name, test_namespace)
1 change: 0 additions & 1 deletion tests/suite/test_virtual_server_wildcard.py
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@
)
class TestVirtualServerWildcard:
def test_vs_status(self, kube_apis, crd_ingress_controller, virtual_server_setup):

wait_and_assert_status_code(200, virtual_server_setup.backend_1_url, virtual_server_setup.vs_host)
wait_and_assert_status_code(200, virtual_server_setup.backend_2_url, virtual_server_setup.vs_host)
wait_and_assert_status_code(404, virtual_server_setup.backend_1_url, "test.example.com")

0 comments on commit 582f31e

Please sign in to comment.