mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Change GCP metadata SSH keys URL
According to [1] the URL is not sshKeys but ssh-keys now. [1] https://cloud.google.com/compute/docs/storing-retrieving-metadata Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
This commit is contained in:
parent
d05c9c0af6
commit
33b6fc77ea
@ -97,7 +97,7 @@ func gcpGet(url string) ([]byte, error) {
|
||||
// TODO split them into individual user files and make the ssh
|
||||
// container construct those users
|
||||
func (p *ProviderGCP) handleSSH() error {
|
||||
sshKeys, err := gcpGet(project + "attributes/sshKeys")
|
||||
sshKeys, err := gcpGet(project + "attributes/ssh-keys")
|
||||
if err != nil {
|
||||
return fmt.Errorf("Failed to get sshKeys: %s", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user