Skip to content

Commit

Permalink
KubernetesControllerService.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
martinzink committed Oct 2, 2024
1 parent e673d55 commit 727293b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<KubernetesControllerService>::getLogger(uuid)} {
}

KubernetesControllerService::KubernetesControllerService(const std::string& name, const std::shared_ptr<Configure>& configuration)
KubernetesControllerService::KubernetesControllerService(const std::string_view name, const std::shared_ptr<Configure>& configuration)
: KubernetesControllerService{name} {
setConfiguration(configuration);
initialize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Configure>& configuration);
explicit KubernetesControllerService(const std::string_view name, const utils::Identifier& uuid = {});
KubernetesControllerService(const std::string_view name, const std::shared_ptr<Configure>& configuration);

EXTENSIONAPI static constexpr const char* Description = "Controller service that provides access to the Kubernetes API";

Expand Down

0 comments on commit 727293b

Please sign in to comment.