mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
Update vendored opc sdk
This commit is contained in:
parent
d0f5b23b72
commit
d481380a06
12
vendor/github.com/hashicorp/go-oracle-terraform/compute/ssh_keys.go
generated
vendored
12
vendor/github.com/hashicorp/go-oracle-terraform/compute/ssh_keys.go
generated
vendored
@ -47,11 +47,23 @@ type CreateSSHKeyInput struct {
|
||||
// CreateSSHKey creates a new SSH key with the given name, key and enabled flag.
|
||||
func (c *SSHKeysClient) CreateSSHKey(createInput *CreateSSHKeyInput) (*SSHKey, error) {
|
||||
var keyInfo SSHKey
|
||||
// We have to update after create to get the full ssh key into opc
|
||||
updateSSHKeyInput := UpdateSSHKeyInput{
|
||||
Name: createInput.Name,
|
||||
Key: createInput.Key,
|
||||
Enabled: createInput.Enabled,
|
||||
}
|
||||
|
||||
createInput.Name = c.getQualifiedName(createInput.Name)
|
||||
if err := c.createResource(&createInput, &keyInfo); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
_, err := c.UpdateSSHKey(&updateSSHKeyInput)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return c.success(&keyInfo)
|
||||
}
|
||||
|
||||
|
14
vendor/vendor.json
vendored
14
vendor/vendor.json
vendored
@ -2007,22 +2007,22 @@
|
||||
"revision": "d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "fOs3GlAj3fAMTlz+6OyllpZV6ow=",
|
||||
"checksumSHA1": "gyD43l5lH8orGQl7TiqLHRNFtFU=",
|
||||
"path": "github.com/hashicorp/go-oracle-terraform/compute",
|
||||
"revision": "c96a23ea6900a1bbf65698abbd1b9a0010576cb5",
|
||||
"revisionTime": "2017-04-20T21:25:45Z"
|
||||
"revision": "cf979675cc5074d460720f7b97626687bcb1e203",
|
||||
"revisionTime": "2017-05-09T16:19:50Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "DzK7lYwHt5Isq5Zf73cnQqBO2LI=",
|
||||
"path": "github.com/hashicorp/go-oracle-terraform/helper",
|
||||
"revision": "c96a23ea6900a1bbf65698abbd1b9a0010576cb5",
|
||||
"revisionTime": "2017-04-20T21:25:45Z"
|
||||
"revision": "cf979675cc5074d460720f7b97626687bcb1e203",
|
||||
"revisionTime": "2017-05-09T16:19:50Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "AyNRs19Es9pDw2VMxVKWuLx3Afg=",
|
||||
"path": "github.com/hashicorp/go-oracle-terraform/opc",
|
||||
"revision": "c96a23ea6900a1bbf65698abbd1b9a0010576cb5",
|
||||
"revisionTime": "2017-04-20T21:25:45Z"
|
||||
"revision": "cf979675cc5074d460720f7b97626687bcb1e203",
|
||||
"revisionTime": "2017-05-09T16:19:50Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "b0nQutPMJHeUmz4SjpreotAo6Yk=",
|
||||
|
Loading…
Reference in New Issue
Block a user