Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Slightly improve error message
Browse files Browse the repository at this point in the history
Mention config var which is causing the failure.

Signed-off-by: Morgan Tocker <tocker@gmail.com>
  • Loading branch information
morgo committed Jan 20, 2020
1 parent 89e396d commit 22217bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/mysqlctl/mysqld.go
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ func (mysqld *Mysqld) getMycnfTemplate() string {
if *mycnfTemplateFile != "" {
data, err := ioutil.ReadFile(*mycnfTemplateFile)
if err != nil {
log.Fatalf("mycnf template file could not be read: %v", *mycnfTemplateFile)
log.Fatalf("template file specified by -mysqlctl_mycnf_template could not be read: %v", *mycnfTemplateFile)
}
return string(data) // use only specified template
}
Expand Down

0 comments on commit 22217bb

Please sign in to comment.