Skip to content

Commit 52300fe

Browse files
committed
Use logrus logger in ecr-credential-helper
1 parent ea4a94c commit 52300fe

File tree

2 files changed

+2
-37
lines changed

2 files changed

+2
-37
lines changed

ecs-cli/main.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,15 @@ import (
2525
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/commands/license"
2626
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/commands/log"
2727
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/commands/regcreds"
28-
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/utils/logger"
28+
logger "github.com/awslabs/amazon-ecr-credential-helper/ecr-login/config"
2929
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/version"
30-
"github.com/cihub/seelog"
3130
"github.com/sirupsen/logrus"
3231
"github.com/urfave/cli"
3332
)
3433

3534
func main() {
36-
// Setup seelog for amazon-ecr-credential-helper
35+
// Setup logrus for amazon-ecr-credential-helper
3736
logger.SetupLogger()
38-
defer seelog.Flush()
3937

4038
app := cli.NewApp()
4139
app.Name = version.AppName

ecs-cli/modules/utils/logger/logger.go

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)