Compact host and port

This commit is contained in:
Kamil Trzcinski 2016-05-16 09:51:15 -05:00
parent e60bbdf9d9
commit a26ec8a106

View file

@ -253,7 +253,7 @@ Settings.registry['port'] ||= nil
Settings.registry['api_url'] ||= "http://localhost:5000/"
Settings.registry['key'] ||= nil
Settings.registry['issuer'] ||= nil
Settings.registry['host_port'] ||= [Settings.registry['host'], Settings.registry['port']].join(':')
Settings.registry['host_port'] ||= [Settings.registry['host'], Settings.registry['port']].compact.join(':')
#
# Git LFS