From 4ef95989c3e9e2654d7a44740f11ca1be007fd46 Mon Sep 17 00:00:00 2001 From: Abhishek Raut Date: Tue, 10 Mar 2020 14:18:22 -0700 Subject: [PATCH] Update code comment for NetworkPolicyPeer NetworkPolicyPeer in types has an outdated comment from the times when it only supported ingress rules. Update the comment to reflect the current usage of the field. Kubernetes-commit: 7cab5753deab2a73adcdb6f6e0694f9996ac5b4a --- testdata/openapi/swagger.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/openapi/swagger.json b/testdata/openapi/swagger.json index 36a24895c..6e4b7d9cb 100644 --- a/testdata/openapi/swagger.json +++ b/testdata/openapi/swagger.json @@ -13744,7 +13744,7 @@ ] }, "io.k8s.api.networking.v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed", + "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", "properties": { "ipBlock": { "$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock",