change github.com/aws/aws-sdk-go to be the same revision in kubernetes

This commit is contained in:
Jingfang Liu
2018-10-16 09:34:22 -07:00
parent e0958159f3
commit c6a78cee92
462 changed files with 20605 additions and 85780 deletions

View File

@@ -119,10 +119,6 @@ func main() {
flag.Parse()
api.Bootstrap()
if len(os.Getenv("AWS_SDK_CODEGEN_DEBUG")) != 0 {
api.LogDebug(os.Stdout)
}
files := []string{}
for i := 0; i < flag.NArg(); i++ {
file := flag.Arg(i)
@@ -213,10 +209,6 @@ func writeServiceFiles(g *generateInfo, filename string) {
Must(writeWaitersFile(g))
Must(writeAPIErrorsFile(g))
Must(writeExamplesFile(g))
if g.API.HasEventStream {
Must(writeAPIEventStreamTestFile(g))
}
}
// Must will panic if the error passed in is not nil.
@@ -321,12 +313,3 @@ func writeAPIErrorsFile(g *generateInfo) error {
g.API.APIErrorsGoCode(),
)
}
func writeAPIEventStreamTestFile(g *generateInfo) error {
return writeGoFile(filepath.Join(g.PackageDir, "eventstream_test.go"),
codeLayout,
"// +build go1.6\n",
g.API.PackageName(),
g.API.APIEventStreamTestGoCode(),
)
}