Skip to content

Commit

Permalink
fix ecs-init logging
Browse files Browse the repository at this point in the history
  • Loading branch information
konoui authored and singholt committed Feb 17, 2023
1 parent 7df78ff commit 31116db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecs-init/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (d *Downloader) getRegion() string {

region, err := d.metadata.Region()
if err != nil {
log.Warn("Could not retrieve the region from EC2 Instance Metadata. Error: %s", err.Error())
log.Warnf("Could not retrieve the region from EC2 Instance Metadata. Error: %s", err.Error())
region = defaultRegion
}
d.region = region
Expand Down

0 comments on commit 31116db

Please sign in to comment.