Skip to content

Commit

Permalink
formatting corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
skudriavtsev committed Nov 18, 2021
1 parent c4750eb commit a067fdd
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion object_manager_a-record.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,3 @@ func (objMgr *ObjectManager) GetARecordByRef(ref string) (*RecordA, error) {
func (objMgr *ObjectManager) DeleteARecord(ref string) (string, error) {
return objMgr.connector.DeleteObject(ref)
}

1 change: 0 additions & 1 deletion object_manager_aaaa-record.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,3 @@ func (objMgr *ObjectManager) UpdateAAAARecord(
}
return recordAAAA, nil
}

1 change: 0 additions & 1 deletion object_manager_cname-record.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@ func (objMgr *ObjectManager) UpdateCNAMERecord(
recordCNAME, err = objMgr.GetCNAMERecordByRef(updatedRef)
return recordCNAME, err
}

1 change: 0 additions & 1 deletion object_manager_fixed_address.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,3 @@ func (objMgr *ObjectManager) ReleaseIP(netview string, cidr string, ipAddr strin
func (objMgr *ObjectManager) DeleteFixedAddress(ref string) (string, error) {
return objMgr.connector.DeleteObject(ref)
}

2 changes: 0 additions & 2 deletions object_manager_host_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ func (objMgr *ObjectManager) UpdateHostRecord(
recordHostIpv4AddrSlice := []HostRecordIpv4Addr{}
recordHostIpv6AddrSlice := []HostRecordIpv6Addr{}


enableDhcpv4 := false
enableDhcpv6 := false
if ipv6Addr != "" {
Expand Down Expand Up @@ -254,4 +253,3 @@ func (objMgr *ObjectManager) UpdateHostRecord(
func (objMgr *ObjectManager) DeleteHostRecord(ref string) (string, error) {
return objMgr.connector.DeleteObject(ref)
}

1 change: 1 addition & 0 deletions object_manager_netview_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)

var _ = Describe("Object Manager: network view", func() {
Describe("Create Network View", func() {
cmpType := "Docker"
Expand Down
1 change: 0 additions & 1 deletion object_manager_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,3 @@ func (objMgr *ObjectManager) UpdateNetwork(
func (objMgr *ObjectManager) DeleteNetwork(ref string) (string, error) {
return objMgr.connector.DeleteObject(ref)
}

1 change: 0 additions & 1 deletion object_manager_ptr-record.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,3 @@ func (objMgr *ObjectManager) UpdatePTRRecord(
recordPTR, err = objMgr.GetPTRRecordByRef(reference)
return recordPTR, err
}

1 change: 0 additions & 1 deletion object_manager_txt-record.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@ func (objMgr *ObjectManager) UpdateTXTRecord(recordname string, text string) (*R
func (objMgr *ObjectManager) DeleteTXTRecord(ref string) (string, error) {
return objMgr.connector.DeleteObject(ref)
}

1 change: 0 additions & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,3 @@ func BuildIPv6NetworkFromRef(ref string) (*Network, error) {

return newNet, nil
}

0 comments on commit a067fdd

Please sign in to comment.