provider/aws: Fix issue when creating ELB with no tags

This commit is contained in:
Clint Shryock 2015-04-17 14:00:27 -05:00
parent 0d1540d448
commit eda987dcfb
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func diffTagsELB(oldTags, newTags []*elb.Tag) ([]*elb.Tag, []*elb.Tag) {
// tagsFromMap returns the tags for the given map of data.
func tagsFromMapELB(m map[string]interface{}) []*elb.Tag {
result := make([]*elb.Tag, 0, len(m))
var result []*elb.Tag
for k, v := range m {
result = append(result, &elb.Tag{
Key: aws.String(k),