Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(348)

Issue 83060049: juju deploy set service owner as current user

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by mattyw
Modified:
10 years ago
Reviewers:
mp+213962, fwereade
Visibility:
Public.

Description

juju deploy set service owner as current user When a service is deployed the service owner is currently hardcoded to user-admin. After this change the owner of the service will be set to the user specified in the jenv file. https://code.launchpad.net/~mattyw/juju-core/deploy-with-user-name/+merge/213962 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : juju deploy set service owner as current user #

Total comments: 1

Patch Set 3 : juju deploy set service owner as current user #

Total comments: 1

Patch Set 4 : juju deploy set service owner as current user #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M juju/conn_test.go View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download
M juju/deploy.go View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M state/apiserver/client/client.go View 1 1 chunk +1 line, -0 lines 0 comments Download
M state/apiserver/client/client_test.go View 1 2 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 5
mattyw
Please take a look.
10 years, 1 month ago (2014-04-03 15:23:38 UTC) #1
fwereade
https://codereview.appspot.com/83060049/diff/20001/cmd/juju/deploy_test.go File cmd/juju/deploy_test.go (right): https://codereview.appspot.com/83060049/diff/20001/cmd/juju/deploy_test.go#newcode266 cmd/juju/deploy_test.go:266: c.Assert(service.GetOwnerTag(), gc.Equals, "user-admin") I don't think this test demonstrates ...
10 years, 1 month ago (2014-04-03 16:00:42 UTC) #2
mattyw
Please take a look.
10 years, 1 month ago (2014-04-04 03:33:25 UTC) #3
fwereade
LGTM with a test in the juju package. https://codereview.appspot.com/83060049/diff/40001/juju/deploy.go File juju/deploy.go (right): https://codereview.appspot.com/83060049/diff/40001/juju/deploy.go#newcode59 juju/deploy.go:59: args.ServiceOwner, ...
10 years ago (2014-04-07 09:53:25 UTC) #4
mattyw
10 years ago (2014-04-09 11:01:52 UTC) #5
Please take a look.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b