Skip to content

Commit

Permalink
made data classes comparable
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdjulian committed Jul 27, 2023
1 parent e801dc5 commit 94ad045
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ContainerImageName(
) : Comparable<ContainerImageName> {

val tag = if (tag == null && digest == null) Tag.LATEST else tag
val reference get() = digest ?: this.tag!!
val reference: Reference get() = digest ?: this.tag!!

fun copy(
registry: Registry = this.registry,
Expand Down

0 comments on commit 94ad045

Please sign in to comment.