Skip to content

Commit

Permalink
Add a comment as suggested (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
shendiaomo authored Jan 16, 2020
1 parent 77ff3f4 commit 8c6d30b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sql/codegen/attribute/attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ func ExtractDocString(module ...string) {
if e != nil {
log.Println("ExtractDocString failed: ", e, string(output))
}
// json.Unmarshal extends the map rather than reallocate a new one, see golang.org/pkg/encoding/json/#Unmarshal
if e := json.Unmarshal(output, &PremadeModelParamsDocs); e != nil {
log.Println("ExtractDocString failed:", e, string(output))
}
Expand Down

0 comments on commit 8c6d30b

Please sign in to comment.