Skip to content

Commit

Permalink
Fix the typo in Fatalf message of printConfigurations
Browse files Browse the repository at this point in the history
Signed-off-by: Wongyu Lee <kyu21@outlook.com>
  • Loading branch information
wqld authored and pchaigno committed Jan 10, 2022
1 parent ed14af8 commit f98ffa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cilium/cmd/config.go
Expand Up @@ -111,15 +111,15 @@ func printConfigurations(cfgStatus *models.DaemonConfigurationStatus) {
if command.OutputJSON() {
if listReadOnlyConfigurations {
if err := command.PrintOutput(cfgStatus.DaemonConfigurationMap); err != nil {
Fatalf("Cannot show configuratons: %v", err)
Fatalf("Cannot show configurations: %v", err)
}
} else if listAllConfigurations {
if err := command.PrintOutputWithPatch(cfgStatus.DaemonConfigurationMap, cfgStatus.Realized); err != nil {
Fatalf("Cannot show configuratons: %v", err)
Fatalf("Cannot show configurations: %v", err)
}
} else {
if err := command.PrintOutput(cfgStatus.Realized.Options); err != nil {
Fatalf("Cannot show configuratons: %v", err)
Fatalf("Cannot show configurations: %v", err)
}
}
return
Expand Down

0 comments on commit f98ffa5

Please sign in to comment.