Skip to content

Commit

Permalink
Update cipher password
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglin9833 committed Sep 29, 2021
1 parent a2b9fe1 commit b8d4c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform-server/services/db/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -3400,7 +3400,7 @@ func convertDirect(defaultValue string, reqParam map[string]interface{}, tfArgum

if _, ok := arg.(string); ok {
if strings.HasPrefix(arg.(string),"{cipher_a}") {
arg = nil
arg, err = cipher.AesDePasswordByGuid(reqParam["id"].(string), reqParam["seed"].(string), arg.(string))
return
}
}
Expand Down

0 comments on commit b8d4c01

Please sign in to comment.