ape: Make RemoveChainLocalOverride set correct removed flag #1006
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1006
Loading…
Reference in a new issue
No description provided.
Delete branch "aarifullin/frostfs-node:fix/898_removed-true"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #898
@ -164,3 +164,3 @@
code := getCodeByLocalStorageErr(err)
if code == codes.NotFound {
removed = false
removed = true
So what do we need
remove
flag for if it is always true?You're right. I have removed
remove
flag. Butremoved
in the response body is left as a first implementation flavor, because we agreed about to return success even a chain is not found after control API had introducedRemove
methodI don't understand, what is the reason to have field in the body which is always true?
Is someone already dependent on it?
7d3bed0821
to63a8ef63d4
@ -171,3 +168,3 @@
resp := &control.RemoveChainLocalOverrideResponse{
Body: &control.RemoveChainLocalOverrideResponse_Body{
Removed: removed,
Removed: true,
Do we need this in control service at all?
Alright. It seems
Removed
is really confusing flag. I have removed itproto
, regenerated protobufs and fix control API and cli!63a8ef63d4
tob19b268baa
b19b268baa
to470862baab