vmpooler 2.5.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 557f2f80846f8334073ff9bf58ec145a74e0f99cea917c5416f37f5039767f88
4
- data.tar.gz: 871ff8d1b1e9f877dd4eff3f6a69219bdf8cdba1097a75bf2442a0cf910b77ec
3
+ metadata.gz: cfe402b5631b6e688652f35e2c037262a2ffac519b20056cb77568f42a91276f
4
+ data.tar.gz: 05543eaca4e5fc1503b8cef7cb0d97acdc3967a4548442a7d062b7f462322062
5
5
  SHA512:
6
- metadata.gz: 4313226f2acf7e2d04549a29b823ad4cda457b749277ac2d48827ee8d8e158b089374ed48356634bbce8a499d655bc980d0d4766dc221944de10ee876ba9b212
7
- data.tar.gz: b1ff5950dfa5ce3770f464767f41930f06f8a480657a191b8f3d0d5ab76412e7380c56f991393624376f7071867a7a79c1a93c0c07a96853efc1cd1abbdbbf0e
6
+ metadata.gz: ca532eca7480d11d6e754e13aa7c417fe7fd8da3e72e850a07408ac9f2ff6160dd9c243656b68923de1eca1c7d48a34b31415646176963e356102dca422d85a1
7
+ data.tar.gz: 75e33d5896da53c96aa2190da5920d733610084bd229525b5938c3ce32527ab65c44229bc5cd13b560a19def10f6e297eb7f258ae5d02496adedd5bbe7ec96b3
@@ -181,8 +181,7 @@ module Vmpooler
181
181
  /^\d{4}-\d{2}-\d{2}$/ === date_str
182
182
  end
183
183
 
184
- # NOTE: domain is not needed here, so we should update the callers of this method
185
- def hostname_shorten(hostname, domain=nil)
184
+ def hostname_shorten(hostname)
186
185
  hostname[/[^.]+/]
187
186
  end
188
187