Skip to content

Commit

Permalink
removed unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible committed Jul 28, 2024
1 parent 36805e9 commit 437d7fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
10 changes: 0 additions & 10 deletions internal/renderers/excel/excel.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,6 @@ func autofit(f *excelize.File, sheetName string) error {
return nil
}

func mapToRow(headers []string, m map[string]string) [][]string {
v := make([]string, 0, len(m))

for _, k := range headers {
v = append(v, m[k])
}

return [][]string{v}
}

func createFirstRow(f *excelize.File, sheet string, headers []string) {
currentRow := 4
cell, err := excelize.CoordinatesToCellName(1, currentRow)
Expand Down
9 changes: 0 additions & 9 deletions internal/scanners/vnet/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,3 @@ func (a *VirtualNetworkScanner) GetRecommendations() map[string]scanners.AzqrRec
},
}
}

func ignoreVirtualNetwork(subnet *armnetwork.Subnet) bool {
switch strings.ToLower(*subnet.Name) {
case "gatewaysubnet", "azurefirewallsubnet", "azurefirewallmanagementsubnet", "routeserversubnet":
return true
default:
return false
}
}

0 comments on commit 437d7fe

Please sign in to comment.