Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas-sidlauskas authored Nov 23, 2021
1 parent ff71ae3 commit 429db90
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion tools/cli/adminDBCleanCommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func AdminDBDataDecodeThrift(c *cli.Context) {
for typeName, t := range decodingTypes {
err = encoder.Decode(data, t)
if err == nil {
// encoding back to confirm
// encoding back to confirm
data2, err := encoder.Encode(t)
if err != nil {
ErrorAndExit("cannot encode back to confirm", err)
Expand Down
46 changes: 23 additions & 23 deletions tools/cli/supportedDecodingTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,27 @@ import (
)

var decodingTypes = map[string]codec.ThriftObject{
"shared.History": &shared.History{},
"shared.HistoryEvent": &shared.HistoryEvent{},
"shared.Memo": &shared.Memo{},
"shared.ResetPoints": &shared.ResetPoints{},
"shared.BadBinaries": &shared.BadBinaries{},
"shared.VersionHistories": &shared.VersionHistories{},
"replicator.FailoverMarkers": &replicator.FailoverMarkers{},
"history.ProcessingQueueStates": &history.ProcessingQueueStates{},
"config.DynamicConfigBlob": &config.DynamicConfigBlob{},
"sqlblobs.ShardInfo": &sqlblobs.ShardInfo{},
"sqlblobs.DomainInfo": &sqlblobs.DomainInfo{},
"sqlblobs.HistoryTreeInfo": &sqlblobs.HistoryTreeInfo{},
"shared.History": &shared.History{},
"shared.HistoryEvent": &shared.HistoryEvent{},
"shared.Memo": &shared.Memo{},
"shared.ResetPoints": &shared.ResetPoints{},
"shared.BadBinaries": &shared.BadBinaries{},
"shared.VersionHistories": &shared.VersionHistories{},
"replicator.FailoverMarkers": &replicator.FailoverMarkers{},
"history.ProcessingQueueStates": &history.ProcessingQueueStates{},
"config.DynamicConfigBlob": &config.DynamicConfigBlob{},
"sqlblobs.ShardInfo": &sqlblobs.ShardInfo{},
"sqlblobs.DomainInfo": &sqlblobs.DomainInfo{},
"sqlblobs.HistoryTreeInfo": &sqlblobs.HistoryTreeInfo{},
"sqlblobs.WorkflowExecutionInfo": &sqlblobs.WorkflowExecutionInfo{},
"sqlblobs.ActivityInfo": &sqlblobs.ActivityInfo{},
"sqlblobs.ChildExecutionInfo": &sqlblobs.ChildExecutionInfo{},
"sqlblobs.SignalInfo": &sqlblobs.SignalInfo{},
"sqlblobs.RequestCancelInfo": &sqlblobs.RequestCancelInfo{},
"sqlblobs.TimerInfo": &sqlblobs.TimerInfo{},
"sqlblobs.TaskInfo": &sqlblobs.TaskInfo{},
"sqlblobs.TaskListInfo": &sqlblobs.TaskListInfo{},
"sqlblobs.TransferTaskInfo": &sqlblobs.TransferTaskInfo{},
"sqlblobs.TimerTaskInfo": &sqlblobs.TimerTaskInfo{},
"sqlblobs.ReplicationTaskInfo": &sqlblobs.ReplicationTaskInfo{},
}
"sqlblobs.ActivityInfo": &sqlblobs.ActivityInfo{},
"sqlblobs.ChildExecutionInfo": &sqlblobs.ChildExecutionInfo{},
"sqlblobs.SignalInfo": &sqlblobs.SignalInfo{},
"sqlblobs.RequestCancelInfo": &sqlblobs.RequestCancelInfo{},
"sqlblobs.TimerInfo": &sqlblobs.TimerInfo{},
"sqlblobs.TaskInfo": &sqlblobs.TaskInfo{},
"sqlblobs.TaskListInfo": &sqlblobs.TaskListInfo{},
"sqlblobs.TransferTaskInfo": &sqlblobs.TransferTaskInfo{},
"sqlblobs.TimerTaskInfo": &sqlblobs.TimerTaskInfo{},
"sqlblobs.ReplicationTaskInfo": &sqlblobs.ReplicationTaskInfo{},
}

0 comments on commit 429db90

Please sign in to comment.