@@ -24,6 +24,7 @@ import (
24
24
"cloud.google.com/go/spanner"
25
25
"github.com/golang/glog"
26
26
"github.com/google/hashr/core/hashr"
27
+ exporter "github.com/google/hashr/exporters/postgres"
27
28
"github.com/google/hashr/importers/gcp"
28
29
"github.com/google/hashr/importers/targz"
29
30
"github.com/google/hashr/importers/windows"
@@ -32,10 +33,9 @@ import (
32
33
"github.com/google/hashr/storage/cloudspanner"
33
34
"github.com/google/hashr/storage/postgres"
34
35
35
- exporter "github.com/google/hashr/exporters/postgres"
36
- cloudbuild "google.golang.org/api/cloudbuild/v1"
37
- compute "google.golang.org/api/compute/v1"
38
- GCPStorage "google.golang.org/api/storage/v1"
36
+ "google.golang.org/api/cloudbuild/v1"
37
+ "google.golang.org/api/compute/v1"
38
+ "google.golang.org/api/storage/v1"
39
39
)
40
40
41
41
var (
@@ -86,7 +86,7 @@ func main() {
86
86
}
87
87
importers = append (importers , r )
88
88
case wsus .RepoName :
89
- s , err := GCPStorage .NewService (ctx )
89
+ s , err := storage .NewService (ctx )
90
90
if err != nil {
91
91
glog .Exitf ("Could not initialize GCP Storage client: %v" , err )
92
92
}
@@ -101,7 +101,7 @@ func main() {
101
101
glog .Exitf ("Could not initialize GCP Compute client: %v" , err )
102
102
}
103
103
104
- storageClient , err := GCPStorage .NewService (ctx )
104
+ storageClient , err := storage .NewService (ctx )
105
105
if err != nil {
106
106
glog .Exitf ("Could not initialize GCP Storage client: %v" , err )
107
107
}
0 commit comments