google / cloud-print-connector

Google Cloud Print Connector
BSD 3-Clause "New" or "Revised" License
765 stars 185 forks source link

Wrong usage of fmt.Printf #460

Open QiAnXinCodeSafe opened 5 years ago

QiAnXinCodeSafe commented 5 years ago

fmt.Print should be used here, otherwise an error will be printed when the buf contains %. https://github.com/google/cloud-print-connector/blob/7e2d4bf1f8d22ff2334370e445869c0840912465/gcp-connector-util/monitor.go#L60