Skip to content

Commit 4b573fc

Browse files
committed
fixing lint issues
1 parent 3376a83 commit 4b573fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/util/tree/tree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ var (
6565
// PrintObjectTree prints the cluster status to stdout.
6666
// Note: this function is exposed only for usage in clusterctl and Cluster API E2E tests.
6767
func PrintObjectTree(tree *tree.ObjectTree, w io.Writer) {
68-
6968
cfg := getObjectTreeConfig()
7069
// Creates the output table
7170
tbl := tablewriter.NewTable(os.Stdin, tablewriter.WithConfig(cfg), tablewriter.WithRendition(tw.Rendition{
@@ -137,6 +136,7 @@ func getObjectTreeConfigV1Beta1() tablewriter.Config {
137136

138137
return cfg
139138
}
139+
140140
// addObjectRow add a row for a given object, and recursively for all the object's children.
141141
// NOTE: each row name gets a prefix, that generates a tree view like representation.
142142
func addObjectRow(prefix string, tbl *tablewriter.Table, objectTree *tree.ObjectTree, obj ctrlclient.Object) {

0 commit comments

Comments
 (0)