mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
fix comment offence
This commit is contained in:
parent
c846e41780
commit
7f1f8def8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue