Skip to content

Commit

Permalink
Added missing assignment to ECS match statement
Browse files Browse the repository at this point in the history
  • Loading branch information
maubergine authored Jan 18, 2018
1 parent 2c64901 commit 878d390
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 878d390

Please sign in to comment.