Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(generate-config): update success message and default path for env #1676

Merged
merged 1 commit into from
Jul 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
'''