mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-18 22:14:29 +00:00
remove logic to get a gcp project
Signed-off-by: Shubheksha Jalan <jshubheksha@gmail.com>
This commit is contained in:
committed by
Nolan Brubaker
parent
2f6f5de80c
commit
09a9d950fc
@@ -64,16 +64,6 @@ func (b *blockStore) Init(config map[string]string) error {
|
||||
return errors.WithStack(err)
|
||||
}
|
||||
|
||||
// validate connection
|
||||
res, err := gce.Projects.Get(project).Do()
|
||||
if err != nil {
|
||||
return errors.WithStack(err)
|
||||
}
|
||||
|
||||
if res == nil {
|
||||
return errors.Errorf("error getting project %q", project)
|
||||
}
|
||||
|
||||
b.gce = gce
|
||||
b.project = project
|
||||
|
||||
|
||||
Reference in New Issue
Block a user