Skip to content

Commit 50b42eb

Browse files
committed
feat: OBS-491 - rename variable
1 parent 7c34756 commit 50b42eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netbox_diode_plugin/management/commands/configurediodeplugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Command(BaseCommand):
4545

4646
diode_to_netbox_username = "DIODE_TO_NETBOX"
4747
netbox_to_diode_username = "NETBOX_TO_DIODE"
48-
ingestion_username = "DIODE"
48+
diode_username = "DIODE"
4949

5050
def handle(self, *args, **options):
5151
"""Handle command execution."""
@@ -57,7 +57,7 @@ def handle(self, *args, **options):
5757
self.diode_to_netbox_username, group
5858
)
5959
_ = _create_user_with_token(self.netbox_to_diode_username, group, True)
60-
_ = _create_user_with_token(self.ingestion_username, group)
60+
_ = _create_user_with_token(self.diode_username, group)
6161

6262
diode_plugin_object_type = NetBoxType.objects.get(
6363
app_label="netbox_diode_plugin", model="diode"

0 commit comments

Comments
 (0)