Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #33 from github/relaxed-config-file
Browse files Browse the repository at this point in the history
ccql is relaxed in parsing config file
  • Loading branch information
Shlomi Noach authored Jul 12, 2016
2 parents 7c8724e + 6b5abef commit 8f3aff9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions go/cmd/ccql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func main() {
Password string
}
}{}
gcfg.RelaxedParserMode = true
err := gcfg.ReadFileInto(&mySQLConfig, *credentialsFile)
if err != nil {
log.Fatalf("Failed to parse gcfg data from file: %+v", err)
Expand Down
8 changes: 8 additions & 0 deletions vendor/gopkg.in/gcfg.v1/set.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8f3aff9

Please sign in to comment.