Skip to content

Commit c125ffa

Browse files
authored
fix(connector): add missing name in the log (#1781)
1 parent ecafa58 commit c125ffa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cmd/connector/cluster/create/create.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package create
33
import (
44
"github.com/redhat-developer/app-services-cli/pkg/core/cmdutil/flagutil"
55
"github.com/redhat-developer/app-services-cli/pkg/core/ioutil/dump"
6+
"github.com/redhat-developer/app-services-cli/pkg/core/localize"
67

78
"github.com/redhat-developer/app-services-cli/pkg/shared/connection"
89
"github.com/redhat-developer/app-services-cli/pkg/shared/factory"
@@ -79,7 +80,7 @@ func runCreate(opts *options) error {
7980
return err
8081
}
8182

82-
f.Logger.Info(f.Localizer.MustLocalize("connector.cluster.create.info.success"))
83+
f.Logger.Info(f.Localizer.MustLocalize("connector.cluster.create.info.success", localize.NewEntry("NAME", response.Name)))
8384

8485
return nil
8586
}

0 commit comments

Comments
 (0)