Skip to content

Commit

Permalink
fix(generate-config): update success message and default path for env
Browse files Browse the repository at this point in the history
Signed-off-by: Ramakrishna Pattnaik <[email protected]>
  • Loading branch information
rkpattnaik780 committed Jul 25, 2022
1 parent 3a558a9 commit 1c1fd5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/generate/configurations.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func WriteConfig(opts *options, config *configValues) (string, error) {
func getDefaultPath(configType string) (filePath string) {
switch configType {
case envFormat:
filePath = ".env"
filePath = "rhoas.env"
case propertiesFormat:
filePath = "rhoas.properties"
case jsonFormat:
Expand Down
5 changes: 4 additions & 1 deletion pkg/core/localize/locales/en/cmd/generate_config.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ one='No services available to generate configurations'
one='''
Configurations successfully saved to "{{.FilePath}}"
You can now create new service accounts or use existing ones to connect to the service(s)
You can now use existing service accounts or create new to connect to the services.
To create new service account, run this command:
$ rhoas service-account create
'''

0 comments on commit 1c1fd5c

Please sign in to comment.