summaryrefslogtreecommitdiff
path: root/system/tls/enable.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-02 13:24:57 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-02 13:24:57 -0800
commit6d893528b4600c033a96e7db5ecb2189d6bd4b69 (patch)
treee28a4cc5cfae12f7a728f85260693b7d2d20895d /system/tls/enable.go
parentc13d4eb7fca799eff2fdc98e1c82b6b0ac83ee2a (diff)
casting var to strings for printing in shell
Diffstat (limited to 'system/tls/enable.go')
-rw-r--r--system/tls/enable.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/tls/enable.go b/system/tls/enable.go
index c53fac6..4ade194 100644
--- a/system/tls/enable.go
+++ b/system/tls/enable.go
@@ -42,7 +42,7 @@ func setup() {
if host == nil {
log.Fatalln("No 'domain' field set in Configuration. Please add a domain before attempting to make certificates.")
}
- fmt.Println("Using", host, "as host/domain for certificate...")
+ fmt.Println("Using", string(host), "as host/domain for certificate...")
fmt.Println("NOTE: if the host/domain is not configured properly or is unreachable, HTTPS set-up will fail.")
email, err := db.Config("admin_email")
@@ -53,7 +53,7 @@ func setup() {
if email == nil {
log.Fatalln("No 'admin_email' field set in Configuration. Please add an admin email before attempting to make certificates.")
}
- fmt.Println("Using", email, "as contact email for certificate...")
+ fmt.Println("Using", string(email), "as contact email for certificate...")
m = autocert.Manager{
Prompt: autocert.AcceptTOS,