fix hash problem
This commit is contained in:
parent
2cf64ef72c
commit
5400f7c68e
|
@ -56,7 +56,7 @@ func lambdaSetHash(v interface{}) int {
|
||||||
buf.WriteString(fmt.Sprintf("%s-", v.(string)))
|
buf.WriteString(fmt.Sprintf("%s-", v.(string)))
|
||||||
}
|
}
|
||||||
if v, ok := m["lambda_arn"]; ok {
|
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())
|
return hashcode.String(buf.String())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue