Skip to content

Commit

Permalink
delete commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidaguerre committed Dec 6, 2023
1 parent 0c7cb2e commit aba81c2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions plugin/connection_config_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,8 @@ func parseConfig(configString []byte, filename string, startPos hcl.Pos) (hcl.Bo
return parseJsonConfig(configString, filename)

}
//_, body, diags := file.Body.PartialContent(&hcl.BodySchema{})
//if diags.HasErrors() {
// return nil, diags
//}
return file.Body, nil

return file.Body, nil
}

func parseJsonConfig(configString []byte, filename string) (hcl.Body, hcl.Diagnostics) {

Check failure on line 170 in plugin/connection_config_schema.go

View workflow job for this annotation

GitHub Actions / Build

undefined: hcl (typecheck)
Expand Down

0 comments on commit aba81c2

Please sign in to comment.