mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Address review comments.
This commit is contained in:
parent
e0ca8abba8
commit
20e558060c
@ -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()
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user