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

Add flag only write on update #19

Merged
merged 13 commits into from
Dec 11, 2017
Merged

Conversation

scott-ace-newton
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 67.868% when pulling d91f0d5 on AddFlagOnlyWriteOnUpdate into dd90f87 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.6%) to 67.771% when pulling 7b55947 on AddFlagOnlyWriteOnUpdate into dd90f87 on master.

rw.Write([]byte("{\"message\":\"Downstream service responded with error\"}"))
return
case UNCHANGED:
rw.WriteHeader(http.StatusNoContent)
Copy link

Choose a reason for hiding this comment

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

Should this be a 304 Not Modified?

svc: svc,
bucketName: bucketName,
bucketPrefix: bucketPrefix,
OnlyUpdatesEnabled: onlyUpdatesEnabled,
Copy link

Choose a reason for hiding this comment

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

Does this need to be exported? I can't see any other references to it outside the package.

"github.com/Financial-Times/message-queue-gonsumer/consumer"
transactionid "github.com/Financial-Times/transactionid-utils-go"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/service/s3/s3iface"
hashstructure "github.com/mitchellh/hashstructure"
Copy link

Choose a reason for hiding this comment

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

Redundant alias

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.6%) to 67.771% when pulling 661cdef on AddFlagOnlyWriteOnUpdate into dd90f87 on master.

@scott-ace-newton scott-ace-newton merged commit c73f41e into master Dec 11, 2017
@scott-ace-newton scott-ace-newton deleted the AddFlagOnlyWriteOnUpdate branch April 24, 2018 10:34
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.

None yet

2 participants