Explorar o código

Correct failed to save CA certificate message (#399)

Pei-Tang Huang %!s(int64=2) %!d(string=hai) anos
pai
achega
abde85bb26
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cert.go

+ 1 - 1
cert.go

@@ -358,7 +358,7 @@ func (m *mkcert) newCA() {
 
 	err = ioutil.WriteFile(filepath.Join(m.CAROOT, rootName), pem.EncodeToMemory(
 		&pem.Block{Type: "CERTIFICATE", Bytes: cert}), 0644)
-	fatalIfErr(err, "failed to save CA key")
+	fatalIfErr(err, "failed to save CA certificate")
 
 	log.Printf("Created a new local CA 💥\n")
 }