Skip to content

Commit

Permalink
Merge pull request #275 from maubergine/maubergine-ecs-context-fix
Browse files Browse the repository at this point in the history
Fixes missing assignment to id in context file conditions
  • Loading branch information
jwilder committed Jan 18, 2018
2 parents 2c64901 + 90aec74 commit 25f2ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func GetCurrentContainerID() string {
strLines := string(lines)
if id := matchDockerCurrentContainerID(strLines); id != "" {
return id
} else if matchECSCurrentContainerID(strLines); id != "" {
} else if id := matchECSCurrentContainerID(strLines); id != "" {
return id
}
}
Expand Down

0 comments on commit 25f2ee9

Please sign in to comment.