Skip to content

Commit

Permalink
use correct domain name for lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill committed Nov 4, 2024
1 parent b5d74aa commit 151c278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/jobs/rename_domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func renameDomain(ctx context.Context, DB *gorm.DB, daoReg *dao.DaoRegistry, org
}

// Update it in pulp
href, err := pulpClient.LookupDomain(ctx, orgId)
href, err := pulpClient.LookupDomain(ctx, domainName)
if err != nil {
return fmt.Errorf("could not lookup domain: %v", err)
} else if href != "" {
Expand Down

0 comments on commit 151c278

Please sign in to comment.