Skip to content

Commit a6df3bc

Browse files
shoekstraM00nF1sh
authored andcommitted
Whoops, we should return an error if found...
1 parent 36eb574 commit a6df3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/networking/vpc_info_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (p *defaultVPCInfoProvider) FetchVPCInfo(ctx context.Context, vpcID string)
4646
// Fetch VPC info from the AWS API and cache response before returning.
4747
vpcInfo, err := p.fetchVPCInfoFromAWS(ctx, vpcID)
4848
if err != nil {
49-
return nil, nil
49+
return nil, err
5050
}
5151
p.saveVPCInfoToCache(vpcInfo)
5252

0 commit comments

Comments
 (0)