Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
martinzink committed Oct 2, 2024
1 parent 44df100 commit e673d55
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion extensions/execute-process/ExecuteProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
*/
#include "ExecuteProcess.h"

#include <unistd.h>

#include <array>
#include <iomanip>
#include <memory>
#include <string>
#include <unistd.h>

#include "core/ProcessContext.h"
#include "core/ProcessSession.h"
Expand Down
1 change: 0 additions & 1 deletion extensions/gcp/processors/PutGCSObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "core/PropertyType.h"
#include "core/RelationshipDefinition.h"
#include "core/logging/LoggerFactory.h"
#include "core/RelationshipDefinition.h"
#include "utils/ArrayUtils.h"
#include "utils/Enum.h"
#include "google/cloud/storage/well_known_headers.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
#pragma once

#include "core/PropertyDefinition.h"

#include <memory>
#include <utility>
Expand All @@ -29,6 +28,7 @@
#include "processors/LogAttribute.h"
#include "controllers/SSLContextService.h"
#include "core/state/ProcessorController.h"
#include "core/PropertyDefinition.h"
#include "integration/HTTPIntegrationBase.h"
#include "unit/Catch.h"
#include "unit/ProvenanceTestHelper.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ TEST_CASE("Test ControllerServicesMap", "[cs1]") {
REQUIRE(map.getAllControllerServices().empty());

std::shared_ptr<core::controller::ControllerService> service = std::make_shared<MockControllerService>();
std::shared_ptr<core::controller::StandardControllerServiceNode> testNode = std::make_shared<core::controller::StandardControllerServiceNode>(service, "ID", std::make_shared<minifi::ConfigureImpl>());
auto testNode = std::make_shared<core::controller::StandardControllerServiceNode>(service, "ID", std::make_shared<minifi::ConfigureImpl>());

map.put("ID", testNode);
REQUIRE(1 == map.getAllControllerServices().size());
Expand All @@ -58,7 +58,7 @@ TEST_CASE("Test StandardControllerServiceNode nullPtr", "[cs1]") {
core::controller::ControllerServiceNodeMap map;

try {
std::shared_ptr<core::controller::StandardControllerServiceNode> testNode = std::make_shared<core::controller::StandardControllerServiceNode>(nullptr, "ID", std::make_shared<minifi::ConfigureImpl>());
auto testNode = std::make_shared<core::controller::StandardControllerServiceNode>(nullptr, "ID", std::make_shared<minifi::ConfigureImpl>());
} catch (const minifi::Exception &) {
return;
}
Expand All @@ -68,7 +68,7 @@ TEST_CASE("Test StandardControllerServiceNode nullPtr", "[cs1]") {

std::shared_ptr<core::controller::StandardControllerServiceNode> newCsNode(const std::string& id) {
std::shared_ptr<core::controller::ControllerService> service = std::make_shared<MockControllerService>();
std::shared_ptr<core::controller::StandardControllerServiceNode> testNode = std::make_shared<core::controller::StandardControllerServiceNode>(service, id, std::make_shared<minifi::ConfigureImpl>());
auto testNode = std::make_shared<core::controller::StandardControllerServiceNode>(service, id, std::make_shared<minifi::ConfigureImpl>());

return testNode;
}
Expand Down

0 comments on commit e673d55

Please sign in to comment.