Skip to content

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

Draft
danmcd wants to merge 3 commits intomasterfrom
content-type
Draft

TOOLS-xxxx use more content-type: in manta uploads#1063
danmcd wants to merge 3 commits intomasterfrom
content-type

Conversation

@danmcd
Copy link
Contributor

@danmcd danmcd commented Nov 18, 2022

No description provided.

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
Contributor

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
Contributor

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