Skip to content

Commit

Permalink
Set the correct field in the legacy case
Browse files Browse the repository at this point in the history
  • Loading branch information
benashz committed Apr 14, 2022
1 parent f724d6a commit affd6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/resource_ssh_secret_backend_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ func setSSHRoleKeyConfig(d *schema.ResourceData, role *api.Secret) error {
v[keyType] = l
}

return d.Set(newField, v)
return d.Set(legacyField, v)
} else {
// set the key configuration
return d.Set(newField, keyConfigs)
Expand Down

0 comments on commit affd6a1

Please sign in to comment.