Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jerome-quere committed Dec 12, 2019
1 parent 0800149 commit 862b382
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions scw/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ const configFileTemplate = `# Scaleway configuration file
# This single default configuration is suitable for most use cases.
{{ if .ActiveProfile }}active_profile: {{ .ActiveProfile }}{{ else }}# active_profile: myProfile{{ end }}
# Help us improve your experience by automatically sending diagnostic and usage data.
# ;-) we solemnly swear that we will only use this data to make the world a better place.
{{ if .SendUsage }}send_usage: true{{ else }}# send_usage: false{{ end }}
# To improve this tools we rely on diagnostic and usage data.
# Sending such data is optional and can be disable at any time by setting this variable to false.
{{ if .SendUsage }}send_usage: {{ .SendUsage }}{{ else }}# send_usage: false{{ end }}
# To work with multiple projects or authorization accounts, you can set up multiple configurations with scw config configurations create and switch among them accordingly.
# You can use a profile by either:
Expand Down
10 changes: 5 additions & 5 deletions scw/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,8 @@ func TestConfig_ConfigFile(t *testing.T) {
# This single default configuration is suitable for most use cases.
# active_profile: myProfile
# Help us improve your experience by automatically sending diagnostic and usage data.
# ;-) we solemnly swear that we will only use this data to make the world a better place.
# To improve this tools we rely on diagnostic and usage data.
# Sending such data is optional and can be disable at any time by setting this variable to false.
# send_usage: false
# To work with multiple projects or authorization accounts, you can set up multiple configurations with scw config configurations create and switch among them accordingly.
Expand Down Expand Up @@ -724,8 +724,8 @@ access_key: SCW1234567890ABCDEFG
# This single default configuration is suitable for most use cases.
# active_profile: myProfile
# Help us improve your experience by automatically sending diagnostic and usage data.
# ;-) we solemnly swear that we will only use this data to make the world a better place.
# To improve this tools we rely on diagnostic and usage data.
# Sending such data is optional and can be disable at any time by setting this variable to false.
# send_usage: false
# To work with multiple projects or authorization accounts, you can set up multiple configurations with scw config configurations create and switch among them accordingly.
Expand Down Expand Up @@ -808,7 +808,7 @@ secret_key: 7363616c-6577-6573-6862-6f7579616161
active_profile: flantier
# To improve this tools we rely on diagnostic and usage data.
# Sending such data is optional and can be disable at any time by setting this variable to false
# Sending such data is optional and can be disable at any time by setting this variable to false.
send_usage: true
# To work with multiple projects or authorization accounts, you can set up multiple configurations with scw config configurations create and switch among them accordingly.
Expand Down

0 comments on commit 862b382

Please sign in to comment.