Skip to content

Commit

Permalink
fixed the FindAssetByScope method
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Jan 18, 2024
1 parent 93bd10b commit 9f35c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (sql *sqlRepository) FindAssetByScope(constraints []oam.Asset, since time.T
var names []*types.Asset

for _, constraint := range constraints {
fqdn, ok := constraint.(domain.FQDN)
fqdn, ok := constraint.(*domain.FQDN)
if !ok {
continue
}
Expand Down

0 comments on commit 9f35c5a

Please sign in to comment.