Repository navigation
feat(iaas): support description field for network and network area cmds - #1673
cgoetz-inovex wants to merge 3 commits into
Conversation
| cmd.Flags().StringToString(labelFlag, nil, "Labels are key-value string pairs which can be attached to a network. E.g. '--labels key1=value1,key2=value2,...'") | ||
| } | ||
|
|
||
| func parseInput(p *print.Printer, cmd *cobra.Command, inputArgs []string) (*inputModel, error) { |
There was a problem hiding this comment.
Not directly related to your changes, but i noticed that you can invoke stackit network update without any flags and the cli will not reject it. might be worth fixing
| table.AddRow( | ||
| network.Id, | ||
| network.Name, | ||
| utils.PtrString(network.Description), |
There was a problem hiding this comment.
nitpick: Large descriptions may make the table very wide. Maybe it is worth to limit the description for the list command? alb plans does something like this: utils.Truncate(item.Description, 70)
|
Caution No coverage for base commit f020712 was found, so this report compares against its ancestor 9821c0f (1 commit earlier) Merging this branch will increase overall coverage
Coverage detailsCompared to commit 9821c0f (run #38861132342)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. Changed unit test files:
|
Description
relates to #1234
Checklist
make fmtmake generate-docs(will be checked by CI)make test(will be checked by CI)make lint(will be checked by CI)