Changing the AWS CodeCommit Connection Initiation to use the new session based work
This commit is contained in:
parent
14604e432e
commit
63d7f5993d
|
@ -217,7 +217,7 @@ func (c *Config) Client() (interface{}, error) {
|
||||||
client.codedeployconn = codedeploy.New(sess)
|
client.codedeployconn = codedeploy.New(sess)
|
||||||
|
|
||||||
log.Println("[INFO] Initializing CodeCommit SDK connection")
|
log.Println("[INFO] Initializing CodeCommit SDK connection")
|
||||||
client.codecommitconn = codecommit.New(awsConfig)
|
client.codecommitconn = codecommit.New(usEast1Sess)
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(errs) > 0 {
|
if len(errs) > 0 {
|
||||||
|
|
Loading…
Reference in New Issue