File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515
1616def register_rename_otel_commands (event_emitter ):
17- event_emitter .register (
18- 'building-command-table.cloudwatch' ,
19- alias_otel_commands
20- )
17+ event_emitter .register (
18+ 'building-command-table.cloudwatch' , alias_otel_commands
19+ )
2120
2221
2322def alias_otel_commands (command_table , ** kwargs ):
24- aliases = {
25- 'get-otel-enrichment' : 'get-o-tel-enrichment' ,
26- 'start-otel-enrichment' : 'start-o-tel-enrichment' ,
27- 'stop-otel-enrichment' : 'stop-o-tel-enrichment' ,
28- }
29- for existing_name , alias_name in aliases .items ():
30- if existing_name in command_table :
31- make_hidden_command_alias (
32- command_table , existing_name , alias_name
33- )
23+ aliases = {
24+ 'get-otel-enrichment' : 'get-o-tel-enrichment' ,
25+ 'start-otel-enrichment' : 'start-o-tel-enrichment' ,
26+ 'stop-otel-enrichment' : 'stop-o-tel-enrichment' ,
27+ }
28+ for existing_name , alias_name in aliases .items ():
29+ if existing_name in command_table :
30+ make_hidden_command_alias (command_table , existing_name , alias_name )
You can’t perform that action at this time.
0 commit comments