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

TOOLS-xxxx use more content-type: in manta uploads #1063

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

danmcd
Copy link
Contributor

@danmcd danmcd commented Nov 18, 2022

No description provided.

@@ -133,7 +162,9 @@ function upload
verbose mmkdir -p "$mbdir"

for file in $bits_dir/*; do
verbose mput -f "$file" "$mbdir/$(basename $file)"
filename="$(basename $file)"
verbose mput -H "$(content_type $filename)" -f "$file" \
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be:

-H "content-type: $(content_type $filename)"

Copy link
Member

Choose a reason for hiding this comment

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

Oh, wait...you're already including the header name. That should work. I guess we'll need to dig into Jenkins to see what went wrong.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it's TritonDataCenter/eng that needs some changes here too. Building one right now that I hope will include the content-type branch of eng.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the "upload-bits" script.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@danmcd danmcd changed the title OS-xxxx use more content-type: in manta uploads TOOLS-xxxx use more content-type: in manta uploads Nov 22, 2022
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.

2 participants