add SSL support, change tag to hostname

This commit is contained in:
JP
2015-07-09 15:06:18 -05:00
parent 86145d5eb5
commit c0512e720c
3 changed files with 36 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ type Server struct {
func (s *Server) getDefaultTags() map[string]string {
tags := make(map[string]string)
tags["host"] = s.Url.Host
tags["hostname"] = s.Url.Host
return tags
}