Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Commit

Permalink
Bug 1516458 - code beautification - fix alphabetical ordering of prop…
Browse files Browse the repository at this point in the history
…erty names in bulk property activities
  • Loading branch information
petemoore committed Jan 4, 2019
1 parent 38297d1 commit b8cc67a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions aws.go
Expand Up @@ -210,12 +210,13 @@ func updateConfigWithAmazonSettings(c *gwconfig.Config) error {
if removeErr != nil {
return removeErr
}

c.AccessToken = secToken.Credentials.AccessToken
c.ClientID = secToken.Credentials.ClientID
c.Certificate = secToken.Credentials.Certificate
c.ClientID = secToken.Credentials.ClientID
c.RootURL = userData.TaskclusterRootURL
c.WorkerGroup = userData.Region
c.WorkerType = userData.WorkerType
c.RootURL = userData.TaskclusterRootURL

awsMetadata := map[string]interface{}{}
for _, url := range []string{
Expand Down
2 changes: 1 addition & 1 deletion gwconfig/config.go
Expand Up @@ -101,10 +101,10 @@ func (c *Config) Validate() error {
{value: c.LiveLogSecret, name: "livelogSecret", disallowed: ""},
{value: c.ProvisionerID, name: "provisionerId", disallowed: ""},
{value: c.PublicIP, name: "publicIP", disallowed: net.IP(nil)},
{value: c.RootURL, name: "rootURL", disallowed: ""},
{value: c.SigningKeyLocation, name: "signingKeyLocation", disallowed: ""},
{value: c.Subdomain, name: "subdomain", disallowed: ""},
{value: c.TasksDir, name: "tasksDir", disallowed: ""},
{value: c.RootURL, name: "rootURL", disallowed: ""},
{value: c.WorkerGroup, name: "workerGroup", disallowed: ""},
{value: c.WorkerID, name: "workerId", disallowed: ""},
{value: c.WorkerType, name: "workerType", disallowed: ""},
Expand Down

0 comments on commit b8cc67a

Please sign in to comment.