Skip to content

Commit

Permalink
Fixed a typo in method name (#56)
Browse files Browse the repository at this point in the history
* This commit contains a rename of fucntion from
GetHostRecordtWithoutDNS to GetHostRecordwithoutDNS
  • Loading branch information
saiprasannasastry authored and jkraj committed Apr 26, 2018
1 parent 5e5081a commit 0781314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion object_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func (objMgr *ObjectManager) GetHostRecord(ref string) (*HostRecord, error) {
return recordHost, err
}

func (objMgr *ObjectManager) GetHostRecordtWithoutDNS(recordName string, netview string, cidr string, ipAddr string) (*HostRecord, error) {
func (objMgr *ObjectManager) GetHostRecordWithoutDNS(recordName string, netview string, cidr string, ipAddr string) (*HostRecord, error) {
var res []HostRecord

recordHost := NewHostRecord(HostRecord{})
Expand Down
2 changes: 1 addition & 1 deletion object_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ var _ = Describe("Object Manager", func() {
var actualhostRecord *HostRecord
var err error
It("should pass expected Host record Object to GetObject", func() {
actualhostRecord, err = objMgr.GetHostRecordtWithoutDNS(hostName, netviewName, cidr, ipAddr)
actualhostRecord, err = objMgr.GetHostRecordWithoutDNS(hostName, netviewName, cidr, ipAddr)
})
It("should return expected Host record Object", func() {
Expect(*actualhostRecord).To(Equal(fipFakeConnector.resultObject.([]HostRecord)[0]))
Expand Down

0 comments on commit 0781314

Please sign in to comment.