internal/awscloud: delete unused method
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
d594005f25
commit
4595339774
1 changed files with 0 additions and 5 deletions
|
|
@ -218,11 +218,6 @@ func NewForEndpointFromFile(filename, endpoint, region, caBundle string, skipSSL
|
|||
return newAwsFromCredsWithEndpoint(config.WithSharedCredentialsFiles([]string{filename, "default"}), region, endpoint, caBundle, skipSSLVerification, imagesAWS)
|
||||
}
|
||||
|
||||
// This is used by the internal/boot test, which access the ec2 apis directly
|
||||
func (a *AWS) EC2ForTestsOnly() EC2 {
|
||||
return a.ec2
|
||||
}
|
||||
|
||||
func (a *AWS) Upload(filename, bucket, key string) (*manager.UploadOutput, error) {
|
||||
file, err := os.Open(filename)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue