Skip to content

Commit

Permalink
Update pkg/tkctl/cmd/version/version.go
Browse files Browse the repository at this point in the history
Co-Authored-By: aylei <[email protected]>
  • Loading branch information
onlymellb and aylei authored May 8, 2019
1 parent b4f3c68 commit 84a9098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tkctl/cmd/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (o *VersionOptions) runVersion(tkcContext *config.TkcContext) error {
fmt.Fprintf(o, "TiDB Scheduler Version: %s\n", schedulers.Items[0].Spec.Template.Spec.Containers[0].Image)
} else {
// warn for multiple scheduler
fmt.Fprintf(o, "WARN: more than one TiDB Scheduler instance found, this is un-supported and may lead to un-specified behavior:\n")
fmt.Fprintf(o, "WARN: more than one TiDB Scheduler instance found, this is un-supported and may lead to un-expected behavior:\n")
for _, item := range schedulers.Items {
fmt.Fprintf(o, "\t%s\n", item.Name)
}
Expand Down

0 comments on commit 84a9098

Please sign in to comment.