Enable forgejo CI #122

Merged
alexvanin merged 1 commits from alexvanin/frostfs-s3-gw:ci into master 2023-07-26 21:08:01 +00:00
There is no content yet.
alexvanin force-pushed ci from 41e963a0bb to 81e860481d 2023-05-31 16:43:42 +00:00 Compare
alexvanin requested review from storage-services-committers 2023-05-31 16:57:47 +00:00
alexvanin requested review from storage-services-developers 2023-05-31 16:57:47 +00:00
dkirillov reviewed 2023-06-01 06:24:26 +00:00
@ -791,2 +791,4 @@
// stripExcessSpaces will rewrite the passed in slice's string values to not
// contain multiple side-by-side spaces.
//
//nolint:revive
Collaborator

Just wondering why is Revival complaining about this function?

Just wondering why is Revival complaining about this function?
Poster
Owner

It does not like for loops with empty block, even though they modify j and k variables.

// revive  empty-block: this block is empty, you can remove it
for j = len(str) - 1; j >= 0 && str[j] == ' '; j-- {
}
It does not like for loops with empty block, even though they modify `j` and `k` variables. ```go // revive empty-block: this block is empty, you can remove it for j = len(str) - 1; j >= 0 && str[j] == ' '; j-- { } ```
dkirillov marked this conversation as resolved
dkirillov approved these changes 2023-06-01 06:24:39 +00:00
alexvanin merged commit 81e860481d into master 2023-06-01 12:23:09 +00:00
alexvanin deleted branch ci 2023-06-01 12:23:09 +00:00
Sign in to join this conversation.
There is no content yet.