Remove unused argument placer

This commit is contained in:
Tobie Morgan Hitchcock 2019-03-05 11:40:04 +00:00
parent 3f604c5087
commit 4415978ac6

View file

@ -203,7 +203,7 @@ func setup() {
var doc *os.File var doc *os.File
var out string = path.Join(os.TempDir(), "surreal.key") var out string = path.Join(os.TempDir(), "surreal.key")
if doc, err = os.Create(out); err != nil { if doc, err = os.Create(out); err != nil {
log.Fatalf("Can not decode PEM encoded private key into %s: %s", out) log.Fatalf("Can not decode PEM encoded private key into %s", out)
} }
doc.Write([]byte(opts.Cert.Key)) doc.Write([]byte(opts.Cert.Key))
doc.Close() doc.Close()