Skip to content

Commit 25f2ee9

Browse files
authored
Merge pull request #275 from maubergine/maubergine-ecs-context-fix
Fixes missing assignment to id in context file conditions
2 parents 2c64901 + 90aec74 commit 25f2ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func GetCurrentContainerID() string {
175175
strLines := string(lines)
176176
if id := matchDockerCurrentContainerID(strLines); id != "" {
177177
return id
178-
} else if matchECSCurrentContainerID(strLines); id != "" {
178+
} else if id := matchECSCurrentContainerID(strLines); id != "" {
179179
return id
180180
}
181181
}

0 commit comments

Comments
 (0)