1
0
Fork 0

Merge branch 'v1.5' into master

This commit is contained in:
Fernandez Ludovic 2018-03-09 12:02:29 +01:00
commit 0a41cd43a5
4 changed files with 70 additions and 21 deletions

View file

@ -372,7 +372,7 @@ func getBoolValue(i ecsInstance, labelName string, defaultValue bool) bool {
rawValue, ok := i.containerDefinition.DockerLabels[labelName]
if ok {
if rawValue != nil {
v, err := strconv.ParseBool(*rawValue)
v, err := strconv.ParseBool(aws.StringValue(rawValue))
if err == nil {
return v
}