fix hash problem

This commit is contained in:
clint shryock 2017-01-19 09:28:49 -06:00
parent 2cf64ef72c
commit 5400f7c68e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func lambdaSetHash(v interface{}) int {
buf.WriteString(fmt.Sprintf("%s-", v.(string)))
}
if v, ok := m["lambda_arn"]; ok {
buf.WriteString(fmt.Sprintf("%d-", v.(string)))
buf.WriteString(fmt.Sprintf("%s-", v.(string)))
}
return hashcode.String(buf.String())
}