From 727293b9f019b30a49638d11414f7d4d4805d403 Mon Sep 17 00:00:00 2001 From: Martin Zink Date: Wed, 2 Oct 2024 17:23:24 +0200 Subject: [PATCH] KubernetesControllerService.cpp --- .../controllerservice/KubernetesControllerService.cpp | 6 +++--- .../controllerservice/KubernetesControllerService.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/kubernetes/controllerservice/KubernetesControllerService.cpp b/extensions/kubernetes/controllerservice/KubernetesControllerService.cpp index 34e00d4e5a..e114457e40 100644 --- a/extensions/kubernetes/controllerservice/KubernetesControllerService.cpp +++ b/extensions/kubernetes/controllerservice/KubernetesControllerService.cpp @@ -31,12 +31,12 @@ extern "C" { namespace org::apache::nifi::minifi::controllers { -KubernetesControllerService::KubernetesControllerService(const std::string& name, const utils::Identifier& uuid) - : AttributeProviderService(name, uuid), +KubernetesControllerService::KubernetesControllerService(const std::string_view name, const utils::Identifier& uuid) + : AttributeProviderServiceImpl(name, uuid), logger_{core::logging::LoggerFactory::getLogger(uuid)} { } -KubernetesControllerService::KubernetesControllerService(const std::string& name, const std::shared_ptr& configuration) +KubernetesControllerService::KubernetesControllerService(const std::string_view name, const std::shared_ptr& configuration) : KubernetesControllerService{name} { setConfiguration(configuration); initialize(); diff --git a/extensions/kubernetes/controllerservice/KubernetesControllerService.h b/extensions/kubernetes/controllerservice/KubernetesControllerService.h index 16f0466ae6..b75ba9848a 100644 --- a/extensions/kubernetes/controllerservice/KubernetesControllerService.h +++ b/extensions/kubernetes/controllerservice/KubernetesControllerService.h @@ -33,8 +33,8 @@ namespace org::apache::nifi::minifi::controllers { class KubernetesControllerService : public AttributeProviderServiceImpl { public: - explicit KubernetesControllerService(const std::string& name, const utils::Identifier& uuid = {}); - KubernetesControllerService(const std::string& name, const std::shared_ptr& configuration); + explicit KubernetesControllerService(const std::string_view name, const utils::Identifier& uuid = {}); + KubernetesControllerService(const std::string_view name, const std::shared_ptr& configuration); EXTENSIONAPI static constexpr const char* Description = "Controller service that provides access to the Kubernetes API";