Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

metadata server: redirect security-credentials when no trailing slash #121

Merged
merged 3 commits into from
Jul 16, 2018

Conversation

pingles
Copy link
Contributor

@pingles pingles commented Jul 16, 2018

This addresses #116: canonical redirect.

Previously we served on both:

  • /{version}/meta-data/iam/security-credentials/
  • /{version}/meta-data/iam/security-credentials

This changes so that the latter is redirected to the former.

@codecov
Copy link

codecov bot commented Jul 16, 2018

Codecov Report

Merging #121 into master will increase coverage by 0.49%.
The diff coverage is 55.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
+ Coverage   37.42%   37.91%   +0.49%     
==========================================
  Files          21       21              
  Lines         799      807       +8     
==========================================
+ Hits          299      306       +7     
  Misses        472      472              
- Partials       28       29       +1
Impacted Files Coverage Δ
pkg/aws/metadata/handler_role_name.go 83.33% <55.55%> (-6.67%) ⬇️
pkg/prefetch/manager.go 53.48% <0%> (+6.97%) ⬆️

@pingles
Copy link
Contributor Author

pingles commented Jul 16, 2018

@uswitch/cloud could someone review please

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants