Skip to content

Commit

Permalink
rm deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Nov 22, 2024
1 parent 2aa5db0 commit ea68bde
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions repomgr/repomgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -578,32 +578,6 @@ func (rm *RepoManager) handleExternalUserEventNoArchive(ctx context.Context, pds
return fmt.Errorf("invalid rpath in mst diff, must have collection and rkey")
}

/*
switch EventKind(op.Action) {
case EvtKindCreateRecord:
evtops = append(evtops, RepoOp{
Kind: EvtKindCreateRecord,
Collection: parts[0],
Rkey: parts[1],
RecCid: (*cid.Cid)(op.Cid),
})
case EvtKindUpdateRecord:
evtops = append(evtops, RepoOp{
Kind: EvtKindUpdateRecord,
Collection: parts[0],
Rkey: parts[1],
RecCid: (*cid.Cid)(op.Cid),
})
case EvtKindDeleteRecord:
evtops = append(evtops, RepoOp{
Kind: EvtKindDeleteRecord,
Collection: parts[0],
Rkey: parts[1],
})
default:
return fmt.Errorf("unrecognized external user event kind: %q", op.Action)
}
*/
switch EventKind(op.Action) {
case EvtKindCreateRecord:
rop := RepoOp{
Expand Down

0 comments on commit ea68bde

Please sign in to comment.