diff --git a/shared/validate/validate.go b/shared/validate/validate.go
index <HASH>..<HASH> 100644
--- a/shared/validate/validate.go
+++ b/shared/validate/validate.go
@@ -573,7 +573,7 @@ func IsNetworkPortRange(value string) error {
 
 	endPort, err := strconv.ParseUint(ports[1], 10, 32)
 	if err != nil {
-		return fmt.Errorf("Invalid port number %q", value)
+		return fmt.Errorf("Invalid end port number %q", value)
 	}
 
 	if startPort >= endPort {
shared/validate/validate: Improve error in IsInRange