Enable forgejo CI #122

Merged
alexvanin merged 1 commit from alexvanin/frostfs-s3-gw:ci into master 2023-07-26 21:08:01 +00:00
Owner
No description provided.
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
Member

Just wondering why is Revival complaining about this function?

Just wondering why is Revival complaining about this function?
Author
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 referenced this pull request from a commit 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.
No reviewers
TrueCloudLab/storage-services-developers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#122
No description provided.