Skip to content

Commit

Permalink
label regex correction
Browse files Browse the repository at this point in the history
Signed-off-by: munishchouhan <[email protected]>
  • Loading branch information
munishchouhan committed Mar 13, 2024
1 parent 8397c8a commit 6294df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/io/seqera/wave/cli/util/Checkers.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class Checkers {

private static final Pattern ENV_REGEX = Pattern.compile("^[A-Za-z_][A-Za-z0-9_]*=.*$");
private static final Pattern LABEL_REGEX = Pattern.compile("^[a-z][a-z0-9.-]*[a-z0-9]=[^=]+$");
private static final Pattern LABEL_REGEX = Pattern.compile("^[a-z][a-z0-9.-]*[a-z0-9]=.*$");

static public boolean isEmpty(String value) {
return value==null || "".equals(value.trim());
Expand Down

0 comments on commit 6294df4

Please sign in to comment.