mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	Use log to output errors instead of fmt
This commit is contained in:
		| @@ -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) | ||||
| 	} | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Brian Kassouf
					Brian Kassouf