From 9014b2cb808b048fb07eab0e64b6a4c0b4f5ac62 Mon Sep 17 00:00:00 2001 From: Zihong Zheng Date: Fri, 15 Jun 2018 16:55:20 -0700 Subject: [PATCH] Minor fix for reteiveing backendService resource --- pkg/fuzz/gcp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/fuzz/gcp.go b/pkg/fuzz/gcp.go index 277b25cc43..cb9348039d 100644 --- a/pkg/fuzz/gcp.go +++ b/pkg/fuzz/gcp.go @@ -236,14 +236,14 @@ func GCLBForVIP(ctx context.Context, c cloud.Cloud, vip string, validators []Fea } gclb.BackendService[*bsKey] = &BackendService{GA: bs} - if hasAlphaResource("urlMap", validators) { + if hasAlphaResource("backendService", validators) { bs, err := c.AlphaBackendServices().Get(ctx, bsKey) if err != nil { return nil, err } gclb.BackendService[*bsKey].Alpha = bs } - if hasBetaResource("urlMap", validators) { + if hasBetaResource("backendService", validators) { bs, err := c.BetaBackendServices().Get(ctx, bsKey) if err != nil { return nil, err