Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag can be split into max 3 #886

Merged
merged 2 commits into from
Oct 11, 2016
Merged

Tag can be split into max 3 #886

merged 2 commits into from
Oct 11, 2016

Conversation

lionelmessi
Copy link
Contributor

@lionelmessi lionelmessi commented Oct 11, 2016

Copy link
Contributor

@jasdel jasdel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good. If you switch SplitN to Split, and I think we can take the PR.

@@ -33,7 +33,7 @@ func (t *tag) parseJSONTag(structTag reflect.StructTag) {
}

func (t *tag) parseTagStr(tagStr string) {
parts := strings.SplitN(tagStr, ",", 2)
parts := strings.SplitN(tagStr, ",", 3)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can just change this to Split instead of SplitN. I don't think we need to limit the number of parts in the tag.

@jasdel jasdel added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Oct 11, 2016
@lionelmessi
Copy link
Contributor Author

Updated it, thanks!

@jasdel
Copy link
Contributor

jasdel commented Oct 11, 2016

Looks good thanks for making the update @lionelmessi.

@jasdel jasdel merged commit 0b845ba into aws:master Oct 11, 2016
jasdel added a commit to jasdel/aws-sdk-go that referenced this pull request Oct 12, 2016
Service Model Updates
---
* `service/ecr`: Update Amazon EC2 Container Registry service model
  * DescribeImages is a new api used to expose image metadata which today includes image size and image creation timestamp.
* `service/elasticache`: Update Amazon ElastiCache service model
  * Elasticache is launching a new major engine release of Redis, 3.2 (providing stability updates and new command sets over 2.8), as well as ElasticSupport for enabling Redis Cluster in 3.2, which provides support for multiple node groups to horizontally scale data, as well as superior engine failover capabilities

SDK Bug Fixes
---
* `aws/session`: Skip shared config on read errors (aws#883)
* `aws/signer/v4`: Add support for URL.EscapedPath to signer (aws#885)

SDK Features
---
* `private/model/api`: Add docs for errors to API operations (aws#881)
* `private/model/api`: Improve field and waiter doc strings (aws#879)
* `service/dynamodb/dynamodbattribute`: Allow multiple struct tag elements (aws#886)
* Add build tags to internal SDK tools (aws#880)
jasdel added a commit to jasdel/aws-sdk-go that referenced this pull request Oct 12, 2016
Service Model Updates
---
* `service/ecr`: Update Amazon EC2 Container Registry service model
  * DescribeImages is a new api used to expose image metadata which today includes image size and image creation timestamp.
* `service/elasticache`: Update Amazon ElastiCache service model
  * Elasticache is launching a new major engine release of Redis, 3.2 (providing stability updates and new command sets over 2.8), as well as ElasticSupport for enabling Redis Cluster in 3.2, which provides support for multiple node groups to horizontally scale data, as well as superior engine failover capabilities

SDK Bug Fixes
---
* `aws/session`: Skip shared config on read errors (aws#883)
* `aws/signer/v4`: Add support for URL.EscapedPath to signer (aws#885)

SDK Features
---
* `private/model/api`: Add docs for errors to API operations (aws#881)
* `private/model/api`: Improve field and waiter doc strings (aws#879)
* `service/dynamodb/dynamodbattribute`: Allow multiple struct tag elements (aws#886)
* Add build tags to internal SDK tools (aws#880)
@jasdel jasdel mentioned this pull request Oct 12, 2016
jasdel added a commit that referenced this pull request Oct 12, 2016
Service Model Updates
---
* `service/ecr`: Update Amazon EC2 Container Registry service model
  * DescribeImages is a new api used to expose image metadata which today includes image size and image creation timestamp.
* `service/elasticache`: Update Amazon ElastiCache service model
  * Elasticache is launching a new major engine release of Redis, 3.2 (providing stability updates and new command sets over 2.8), as well as ElasticSupport for enabling Redis Cluster in 3.2, which provides support for multiple node groups to horizontally scale data, as well as superior engine failover capabilities

SDK Bug Fixes
---
* `aws/session`: Skip shared config on read errors (#883)
* `aws/signer/v4`: Add support for URL.EscapedPath to signer (#885)

SDK Features
---
* `private/model/api`: Add docs for errors to API operations (#881)
* `private/model/api`: Improve field and waiter doc strings (#879)
* `service/dynamodb/dynamodbattribute`: Allow multiple struct tag elements (#886)
* Add build tags to internal SDK tools (#880)
@diehlaws diehlaws removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants