Skip to content

Commit

Permalink
fix: Fix typo in the port name format help (#2550)
Browse files Browse the repository at this point in the history
## Description
The port name format help refers to the service name instead of the port
name.
  • Loading branch information
laurentluce authored Sep 17, 2024
1 parent a626966 commit 256d71a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func invalidPortNameErrorText(
portName string,
) string {
return fmt.Sprintf(
"Port name '%v' is invalid as it contains disallowed characters. Service names must adhere to the RFC 6335 standard, specifically implementing this regex and be 1-15 characters long: %s. This means the service name must only contain lowercase alphanumeric characters or '-', and must start with a lowercase alphabet and end with a lowercase alphanumeric character.",
"Port name '%v' is invalid as it contains disallowed characters. Port names must adhere to the RFC 6335 standard, specifically implementing this regex and be 1-15 characters long: %s. This means the port name must only contain lowercase alphanumeric characters or '-', and must start with a lowercase alphabet and end with a lowercase alphanumeric character.",
portName,
service.PortNameRegex,
)
Expand Down

0 comments on commit 256d71a

Please sign in to comment.