Merge ~cjwatson/launchpad-mojo-specs:utils-clarify-set-local-config into launchpad-mojo-specs:master

Proposed by Colin Watson
Status: Needs review
Proposed branch: ~cjwatson/launchpad-mojo-specs:utils-clarify-set-local-config
Merge into: launchpad-mojo-specs:master
Diff against target: 14 lines (+2/-1)
1 file modified
utils/set-local-config (+2/-1)
Reviewer Review Type Date Requested Status
Canonical Launchpad Engineering Pending
Review via email: mp+404999@code.launchpad.net

Commit message

utils: Clarify set-local-config output

Description of the change

This makes it clearer what's going on when set-local-config is run for a number of different applications.

To post a comment you must log in.

Unmerged commits

b4c37f7... by Colin Watson

utils: Clarify set-local-config output

This makes it clearer what's going on when set-local-config is run for a
number of different applications.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/utils/set-local-config b/utils/set-local-config
2index f5e5845..4717761 100755
3--- a/utils/set-local-config
4+++ b/utils/set-local-config
5@@ -25,7 +25,8 @@ args = parser.parse_args()
6 local_config_path = os.path.join(
7 os.environ['MOJO_LOCAL_DIR'], 'deploy-secrets')
8
9-print("Updating local config at {}".format(local_config_path))
10+print("Updating local config for {} at {}".format(
11+ args.service, local_config_path))
12
13 if os.path.exists(local_config_path):
14 with open(local_config_path) as config_file:

Subscribers

People subscribed via source and target branches