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

Commit 8f3aff9

Browse files
author
Shlomi Noach
authored
Merge pull request #33 from github/relaxed-config-file
ccql is relaxed in parsing config file
2 parents 7c8724e + 6b5abef commit 8f3aff9

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

go/cmd/ccql/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ func main() {
9090
Password string
9191
}
9292
}{}
93+
gcfg.RelaxedParserMode = true
9394
err := gcfg.ReadFileInto(&mySQLConfig, *credentialsFile)
9495
if err != nil {
9596
log.Fatalf("Failed to parse gcfg data from file: %+v", err)

vendor/gopkg.in/gcfg.v1/set.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)