Skip to content

Commit

Permalink
Reason for the patch: To display the correct version number in the ta…
Browse files Browse the repository at this point in the history
…ble header.
  • Loading branch information
miltlima committed Sep 27, 2023
1 parent 76bce8b commit 5a28351
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -764,9 +764,10 @@ func createRoleOne(clientset *kubernetes.Clientset) Result {
}
}

// render table of results
func renderResultsTable(results []Result) {
table := tablewriter.NewWriter(os.Stdout)
table.SetHeader([]string{"KubeLearn - Test your knowledge of Kubernetes v0.1.2", "Result", "Difficulty"})
table.SetHeader([]string{"KubeLearn - Test your knowledge of Kubernetes v0.1.4", "Result", "Difficulty"})
table.SetAutoWrapText(false)

for _, result := range results {
Expand Down

0 comments on commit 5a28351

Please sign in to comment.