Allow cloud providers to return a node identifier different from the hostname

This commit is contained in:
Justin Santa Barbara
2015-06-12 11:42:38 -04:00
parent dee8d4b90b
commit df87470ecf
11 changed files with 64 additions and 1 deletions

View File

@@ -234,6 +234,10 @@ func (self *AWSCloud) AddSSHKeyToAllInstances(user string, keyData []byte) error
return errors.New("unimplemented")
}
func (a *AWSCloud) CurrentNodeName(hostname string) (string, error) {
return hostname, nil
}
// Implementation of EC2.Instances
func (self *awsSdkEC2) DescribeInstances(request *ec2.DescribeInstancesInput) ([]*ec2.Instance, error) {
// Instances are paged