forked from TrueCloudLab/frostfs-sdk-go
[#190] sdk-go: Gofumpt fixes
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
157a9930e8
commit
56debcfa56
10 changed files with 17 additions and 18 deletions
|
@ -355,7 +355,7 @@ func (x Container) IterateAttributes(f func(key, val string)) {
|
|||
func (x Container) IterateUserAttributes(f func(key, val string)) {
|
||||
attrs := x.v2.GetAttributes()
|
||||
for _, attr := range attrs {
|
||||
var key = attr.GetKey()
|
||||
key := attr.GetKey()
|
||||
if !strings.HasPrefix(key, container.SysAttributePrefix) &&
|
||||
!strings.HasPrefix(key, container.SysAttributePrefixNeoFS) {
|
||||
f(key, attr.GetValue())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue