File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/io/opentelemetry/contrib/aws/resource Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ private static class DockerImage {
314
314
315
315
private static final Pattern imagePattern =
316
316
Pattern .compile (
317
- "^(?<repository>([^/\\ s]+/)?([^:\\ s]+))(:(?<tag>[^@\\ s]+))?(@sha256:(?<sha256>\\ d +))?$" );
317
+ "^(?<repository>([^/\\ s]+/)?([^:\\ s]+))(:(?<tag>[^@\\ s]+))?(@sha256:(?<sha256>[ \\ da-fA-F] +))?$" );
318
318
319
319
final String repository ;
320
320
final String tag ;
Original file line number Diff line number Diff line change 2
2
"DockerId" : " 43481a6ce4842eec8fe72fc28500c6b52edcc0917f105b83379f88cac1ff3946" ,
3
3
"Name" : " nginx-curl" ,
4
4
"DockerName" : " ecs-nginx-5-nginx-curl-ccccb9f49db0dfe0d901" ,
5
- "Image" : " nrdlngr/nginx-curl" ,
5
+ "Image" : " nrdlngr/nginx-curl:latest@sha256:8dc35e9386b5d280d285ae7a78d271a5d4a82106cb254fbed5fde4923faa8deb " ,
6
6
"ImageID" : " sha256:2e00ae64383cfc865ba0a2ba37f61b50a120d2d9378559dcd458dc0de47bc165" ,
7
7
"Labels" : {
8
8
"com.amazonaws.ecs.cluster" : " default" ,
28
28
]
29
29
}
30
30
]
31
- }
31
+ }
You can’t perform that action at this time.
0 commit comments