Use log to output errors instead of fmt

This commit is contained in:
Brian Kassouf
2017-05-03 13:01:05 -07:00
parent 311acb34a5
commit f424a9ad79
4 changed files with 8 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
package main
import (
"fmt"
"log"
"os"
"github.com/hashicorp/vault/helper/pluginutil"
@@ -15,7 +15,7 @@ func main() {
err := postgresql.Run(apiClientMeta.GetTLSConfig())
if err != nil {
fmt.Println(err)
log.Println(err)
os.Exit(1)
}
}