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

neofs-cli: fix pass of several object put --attributes flags #2569

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

AliceInHunterland
Copy link
Contributor

The object put command previously could only retrieve the last --attributes parameter if multiple such parameters were provided. Now, the object put command correctly parses all --attributes values, whether they are provided as comma-separated or single values.

Closes #2427.

The `object put` command previously could only retrieve the last
`--attributes` parameter if multiple such parameters were provided. Now,
 the `object put` command correctly parses all `--attributes` values,
 whether they are provided as comma-separated or single values.

Closes #2427.

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
@AliceInHunterland AliceInHunterland force-pushed the bugfix/2427-cli-object-put-attributes branch from a4b39d4 to 7a79231 Compare September 12, 2023 13:02
@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Merging #2569 (83e7b1a) into master (4aab937) will decrease coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 83e7b1a differs from pull request most recent head 7a79231. Consider uploading reports for the commit 7a79231 to get more accurate results

@@            Coverage Diff             @@
##           master    #2569      +/-   ##
==========================================
- Coverage   29.82%   29.81%   -0.01%     
==========================================
  Files         405      405              
  Lines       30885    30885              
==========================================
- Hits         9210     9208       -2     
- Misses      20884    20885       +1     
- Partials      791      792       +1     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

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

So both --attributes A=X,B=Y and --attributes A=X --attributes B=Y would work the same? Nice.

@roman-khimov roman-khimov merged commit 0c3b5a7 into master Sep 13, 2023
7 of 8 checks passed
@roman-khimov roman-khimov deleted the bugfix/2427-cli-object-put-attributes branch September 13, 2023 12:03
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.

cli: Improve UX concerning attributes' setting in object put command
3 participants