Skip to content

Commit 963195f

Browse files
committed
chore: fix incorrect comment
Signed-off-by: zjumathcode <pai314159@2980.com>
1 parent 4e943b5 commit 963195f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/messageprocessors/javascript/javascript.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ func (h *host) CompileDownlinkDecoder(
455455
}, nil
456456
}
457457

458-
// DecodeUplink decodes the message's FRMPayload to DecodedPayload using the given script.
458+
// DecodeDownlink decodes the message's FRMPayload to DecodedPayload using the given script.
459459
func (h *host) DecodeDownlink(
460460
ctx context.Context,
461461
_ *ttnpb.EndDeviceIdentifiers,

pkg/networkserver/cleanup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func (cleaner *RegistryCleaner) RangeToLocalSet(ctx context.Context) error {
3838
return err
3939
}
4040

41-
// DeleteComplement deletes registry application data of all devices in the device id list.
41+
// DeleteDeviceData deletes registry application data of all devices in the device id list.
4242
func (cleaner *RegistryCleaner) DeleteDeviceData(ctx context.Context, devSet []string) error {
4343
for _, ids := range devSet {
4444
devIds, err := unique.ToDeviceID(ids)

0 commit comments

Comments
 (0)