Update format string to match type (#1548)

This commit is contained in:
dfawley
2017-09-29 10:12:01 -07:00
committed by Menghan Li
parent 8843b88fac
commit 8443e311d3

View File

@ -233,7 +233,7 @@ func (d *dnsResolver) lookupTXT() string {
// TXT record must have "grpc_config=" attribute in order to be used as service config.
if !strings.HasPrefix(res, txtAttribute) {
grpclog.Warningf("grpc: TXT record %p missing %p attribute", res, txtAttribute)
grpclog.Warningf("grpc: TXT record %v missing %v attribute", res, txtAttribute)
return ""
}
return strings.TrimPrefix(res, txtAttribute)