Skip to content

Commit

Permalink
fix(targets): accept non-unique aliases (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
aali309 authored Jan 25, 2024
1 parent 2cf433e commit 5bd6653
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/io/cryostat/targets/Target.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ public class Target extends PanacheEntity {
@NotNull
public URI connectUrl;

@Column(unique = true)
@NotBlank
public String alias;
@NotBlank public String alias;

public String jvmId;

Expand Down

0 comments on commit 5bd6653

Please sign in to comment.