Skip to content

Commit

Permalink
fix(docker): avoid loading non-existing password
Browse files Browse the repository at this point in the history
The Lacework API doesn't return passwords/secrets, therefore we should
not try to load them.

Closes #42

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
  • Loading branch information
afiune committed Dec 2, 2020
1 parent aedbee8 commit 5ea1e5d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lacework/resource_lacework_integration_docker_hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ func resourceLaceworkIntegrationDockerHubRead(d *schema.ResourceData, meta inter
d.Set("org_level", integration.IsOrg == 1)

d.Set("username", integration.Data.Credentials.Username)
d.Set("password", integration.Data.Credentials.Password)
d.Set("limit_by_tag", integration.Data.LimitByTag)
d.Set("limit_by_label", integration.Data.LimitByLabel)
d.Set("limit_by_repos", integration.Data.LimitByRep)
Expand Down

0 comments on commit 5ea1e5d

Please sign in to comment.