Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
brice-gros authored Oct 22, 2024
1 parent 4d1a3c4 commit 08f5517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nsupdate/main/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def get_by_http_user(cls, username, **kwargs):
return None
except Host.MultipleObjectsReturned:
# should not happen, see Host.http_user should have unique=True
raise ValueError("get_by_http_user(%s) found more than 1 host" % fqdn)
raise ValueError("get_by_http_user(%s) found more than 1 host" % username)
else:
return host

Expand Down

0 comments on commit 08f5517

Please sign in to comment.