Skip to content

Commit d8577b0

Browse files
committed
error messages, should not be capitalized or end with punctuation
1 parent 5e1d8e9 commit d8577b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

conformance/conformance.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ func DefaultOptions(t *testing.T) confsuite.ConformanceOptions {
108108

109109
t.Log("Registering API types with scheme...")
110110
// Register core K8s types (like v1.Secret for certs) to scheme, needed by client to create/manage these resources.
111-
require.NoError(t, clientsetscheme.AddToScheme(scheme), "Failed to add core Kubernetes types to scheme")
111+
require.NoError(t, clientsetscheme.AddToScheme(scheme), "failed to add core Kubernetes types to scheme")
112112
// Add Gateway API types
113-
require.NoError(t, gatewayv1.Install(scheme), "Failed to install gatewayv1 types into scheme")
113+
require.NoError(t, gatewayv1.Install(scheme), "failed to install gatewayv1 types into scheme")
114114
// Add APIExtensions types (for CRDs)
115-
require.NoError(t, apiextensionsv1.AddToScheme(scheme), "Failed to add apiextensionsv1 types to scheme")
115+
require.NoError(t, apiextensionsv1.AddToScheme(scheme), "failed to add apiextensionsv1 types to scheme")
116116

117117
// Register Inference Extension API types
118118
t.Logf("Attempting to install inferencev1alpha2 types into scheme from package: %s", inferencev1alpha2.GroupName)
119-
require.NoError(t, inferencev1alpha2.Install(scheme), "Failed to install inferencev1alpha2 types into scheme.")
119+
require.NoError(t, inferencev1alpha2.Install(scheme), "failed to install inferencev1alpha2 types into scheme")
120120

121121
clientOptions := client.Options{Scheme: scheme}
122122
c, err := client.New(cfg, clientOptions)
@@ -238,7 +238,7 @@ func RunConformanceWithOptions(t *testing.T, opts confsuite.ConformanceOptions)
238238
}
239239

240240
// ensureGatewayAvailableAndReady polls for the specified Gateway to exist and become ready
241-
// with an address and programmed conditions.
241+
// with an address and programmed condition.
242242
func ensureGatewayAvailableAndReady(t *testing.T, k8sClient client.Client, opts confsuite.ConformanceOptions, gatewayNN types.NamespacedName) {
243243
t.Helper()
244244

0 commit comments

Comments
 (0)