From f8adcd1e029e55ec750b39eb9785fd9ae4a40931 Mon Sep 17 00:00:00 2001
From: Hakan Calim <hakan.calim@fau.de>
Date: Tue, 25 Jul 2023 10:41:08 +0200
Subject: [PATCH] NAT-243: fixed the call for creating manufacturer

---
 utils/netboxcli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/netboxcli.py b/utils/netboxcli.py
index f1a754aa..cf50af5e 100644
--- a/utils/netboxcli.py
+++ b/utils/netboxcli.py
@@ -56,7 +56,7 @@ def interface(name: str, type: str, fqdn: str):
 @click.option('--slug', help='Short name for manufacturer')
 def manufacturer(name: str, slug: str):
     click.echo(f"Creating manufacturer: name={name}")
-    manufacturer = nc.create_manufacturer(nbclient, name, slug)
+    manufacturer = nc.create_device_manufacturer(nbclient, name, slug)
     print(manufacturer)
 
 
-- 
GitLab