Skip to content

Commit

Permalink
fix typo on line 373 of resource_connection.go (#48)
Browse files Browse the repository at this point in the history
* fix typo on line 373 of resource_connection.go

* fix typo on line 176 resource_connection.go

* Updates docs/resources/connection.md to fix typo.

---------

Co-authored-by: Joseph Bennett <[email protected]>
Co-authored-by: hirosassa <[email protected]>
  • Loading branch information
3 people authored Oct 7, 2023
1 parent 3fe3675 commit 5c82409
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/resources/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Optional:
- `file_type` (String)
- `host` (String)
- `jdbc_additional_params` (String)
- `passowrd` (String, Sensitive)
- `password` (String, Sensitive)
- `port` (String)
- `schema` (String)
- `username` (String)
Expand Down
4 changes: 2 additions & 2 deletions pkg/looker/resource_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func resourceConnection() *schema.Resource {
ForceNew: true,
Optional: true,
},
"passowrd": {
"password": {
Type: schema.TypeString,
ForceNew: true,
Optional: true,
Expand Down Expand Up @@ -370,7 +370,7 @@ func expandWriteDBConnection(d *schema.ResourceData) (*apiclient.WriteDBConnecti
tmpDbName := v.(string)
writeDBConnection.TmpDbName = &tmpDbName
}
if v, ok := d.GetOk("jdbc_addtional_params"); ok {
if v, ok := d.GetOk("jdbc_additional_params"); ok {
jdbcAdditionalParams := v.(string)
writeDBConnection.JdbcAdditionalParams = &jdbcAdditionalParams
}
Expand Down

0 comments on commit 5c82409

Please sign in to comment.