From 2b49d2ba60794c39e1de3f22db3b6097ea619987 Mon Sep 17 00:00:00 2001 From: Pavel Korovin Date: Thu, 16 Nov 2023 15:04:58 +0000 Subject: [PATCH] Update Docstring "Device" -> "Virtual Machine" Docstring should mention "..this Virtual Machine" instead of "...this Device", thanks @LuPo! --- netbox/virtualization/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/virtualization/api/views.py b/netbox/virtualization/api/views.py index d785c0917..af2bc42c2 100644 --- a/netbox/virtualization/api/views.py +++ b/netbox/virtualization/api/views.py @@ -86,7 +86,7 @@ class VirtualMachineViewSet(ConfigContextQuerySetMixin, ConfigTemplateRenderMixi @action(detail=True, methods=['post'], url_path='render-config', renderer_classes=[JSONRenderer, TextRenderer]) def render_config(self, request, pk): """ - Resolve and render the preferred ConfigTemplate for this Device. + Resolve and render the preferred ConfigTemplate for this Virtual Machine. """ instance = self.get_object() configtemplate = instance.get_config_template()