From 37443085cfa8263ddaee2706ac70dc1547ee7bf9 Mon Sep 17 00:00:00 2001 From: Chuntao Lu Date: Mon, 24 Aug 2020 13:29:38 -0700 Subject: [PATCH] Add missing import in http_client.tmpl --- codegen/template_bundle/template_files.go | 3 ++- codegen/templates/http_client.tmpl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/codegen/template_bundle/template_files.go b/codegen/template_bundle/template_files.go index 1241764cc..54d84b33d 100644 --- a/codegen/template_bundle/template_files.go +++ b/codegen/template_bundle/template_files.go @@ -1405,6 +1405,7 @@ import ( "time" "github.com/pkg/errors" + "github.com/uber/zanzibar/config" zanzibar "github.com/uber/zanzibar/runtime" "github.com/uber/zanzibar/runtime/jsonwrapper" @@ -1891,7 +1892,7 @@ func http_clientTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "http_client.tmpl", size: 16370, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "http_client.tmpl", size: 16405, mode: os.FileMode(420), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/codegen/templates/http_client.tmpl b/codegen/templates/http_client.tmpl index 9a492fc30..e323f0b0a 100644 --- a/codegen/templates/http_client.tmpl +++ b/codegen/templates/http_client.tmpl @@ -11,6 +11,7 @@ import ( "time" "github.com/pkg/errors" + "github.com/uber/zanzibar/config" zanzibar "github.com/uber/zanzibar/runtime" "github.com/uber/zanzibar/runtime/jsonwrapper"