Address review comments.

This commit is contained in:
Madhusudan.C.S 2017-04-24 09:39:28 -07:00
parent e0ca8abba8
commit 20e558060c
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ type ResourceRecordSets interface {
// Get returns the ResourceRecordSet list with the name in the Zone.
// This is a list because there might be multiple records of different
// types for a given name. If the named resource record sets do not
// exist, but no error occurred, the returned set will be an empty set
// exist, but no error occurred, the returned record set will be empty
// and error will be nil.
Get(name string) ([]ResourceRecordSet, error)
// New allocates a new ResourceRecordSet, which can then be passed to ResourceRecordChangeset Add() or Remove()

View File

@ -40,7 +40,7 @@ func (s ResourceRecordSetsService) managedZone(project, managedZone string) (*Ma
if z == nil {
return nil, fmt.Errorf("Zone %s not found in project %s", managedZone, project)
}
return s.Service.ManagedZones_.Impl[project][managedZone].(*ManagedZone), nil
return z.(*ManagedZone), nil
}
func (s ResourceRecordSetsService) List(project string, managedZone string) interfaces.ResourceRecordSetsListCall {