remove unused params from GCP objectStorageAdapter

Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
Steve Kriss
2017-08-09 13:44:59 -07:00
parent 3ba422af58
commit c2271776cc
2 changed files with 2 additions and 6 deletions

View File

@@ -26,9 +26,7 @@ import (
)
type objectStorageAdapter struct {
project string
zone string
gcs *storage.Service
gcs *storage.Service
}
var _ cloudprovider.ObjectStorageAdapter = &objectStorageAdapter{}

View File

@@ -51,9 +51,7 @@ func NewStorageAdapter(project string, zone string) (cloudprovider.StorageAdapte
return &storageAdapter{
objectStorage: &objectStorageAdapter{
gcs: gcs,
project: project,
zone: zone,
gcs: gcs,
},
blockStorage: &blockStorageAdapter{
gce: gce,