Skip to content

Commit

Permalink
Merge pull request #169 from nikhiljindal/listurlmaps
Browse files Browse the repository at this point in the history
Use given name rather than regenerating it in UrlMap fake
  • Loading branch information
nicksardo authored Mar 26, 2018
2 parents d12e286 + 3b4b89d commit f5c87b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/loadbalancers/fakes.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (f *FakeLoadBalancers) GetUrlMap(name string) (*compute.UrlMap, error) {
func (f *FakeLoadBalancers) CreateUrlMap(urlMap *compute.UrlMap) error {
glog.V(4).Infof("CreateUrlMap %+v", urlMap)
f.calls = append(f.calls, "CreateUrlMap")
urlMap.SelfLink = f.UMName()
urlMap.SelfLink = urlMap.Name
f.Um = append(f.Um, urlMap)
return nil
}
Expand Down

0 comments on commit f5c87b1

Please sign in to comment.