Skip to content

Commit

Permalink
Fix minor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomationD committed May 15, 2024
1 parent b3301a5 commit 4952d16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/commands/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func getEcsContainerName(o *ConsoleOptions) (string, error) {
}
}

return "", errors.New(fmt.Sprintf("Can't find a container for %s in %s", o.AppName, task.TaskDefinitionArn))
return "", errors.New(fmt.Sprintf("Can't find a container for %s in %s", o.AppName, *task.TaskDefinitionArn))
}
} else {
fmt.Println("No tasks found.")
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func getEcsServiceLogGroupName(o *LogsOptions) (string, error) {
})

if len(resp.LogGroups) == 0 {
logrus.Debug("No log groups with prefix %s. Trying other options", v)
logrus.Debugf("No log groups with prefix %s. Trying other options", v)
continue
}

Expand Down

0 comments on commit 4952d16

Please sign in to comment.