fix comment offence

This commit is contained in:
Samuel Beaulieu 2022-07-25 09:12:12 -05:00
parent c846e41780
commit 7f1f8def8e
No known key found for this signature in database
GPG key ID: 12030F74136D0F34

View file

@ -181,7 +181,7 @@ module Vmpooler
/^\d{4}-\d{2}-\d{2}$/ === date_str /^\d{4}-\d{2}-\d{2}$/ === date_str
end end
# note: domain is not needed here, so we should update the callers of this method # NOTE: domain is not needed here, so we should update the callers of this method
def hostname_shorten(hostname, domain=nil) def hostname_shorten(hostname, domain=nil)
hostname[/[^.]+/] hostname[/[^.]+/]
end end