Skip to content

Commit f9da175

Browse files
committed
Remove extra whitespace
1 parent b752686 commit f9da175

File tree

11 files changed

+12
-17
lines changed

11 files changed

+12
-17
lines changed

CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ if (NOT DEFINED BUILD_TESTS OR BUILD_TESTS)
3333
add_subdirectory(googletest)
3434
add_subdirectory(test)
3535
endif()
36-

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ For consistency it's recommended to build and test in Docker.
8484
We will try an up to date dependency image published to
8585
[Dockerhub](https://hub.docker.com/r/starryoss/sysadmin-build/).
8686

87-
The docker commands are wrapped in the docker_control.sh script.
87+
The docker commands are wrapped in the docker_control.sh script.
8888

8989
```bash
9090
# make sure you have submodules
@@ -105,10 +105,10 @@ inside the container so you shouldn't have to worry about permissions on
105105
files you create.
106106

107107
```bash
108-
# build and test in a single command. Non-interactive
108+
# build and test in a single command. Non-interactive
109109
./docker_control.sh -t
110110

111-
# Run the container interactively
111+
# Run the container interactively
112112
./docker_control.sh -i
113113
```
114114

clients/rust/DEV-README.md

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ Note you may need to build Sysadmin first.
1515
Next run tests (which builds the examples) and run the example with:
1616

1717
`cargo test && target/debug/examples/sysadmin-example`
18-

clients/rust/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
embedded database and system configuration tool written in C++.
55
This library allows Rust applications to interface with Sysadmin.
66

7-
To manage this crate on crates.io you must be a member of
8-
the StarryInternet
7+
To manage this crate on crates.io you must be a member of
8+
the StarryInternet
99
[maintainers](https://github.com/orgs/StarryInternet/teams/maintainers/members)
1010
team. See [cargo-owner](http://doc.crates.io/crates-io.html#cargo-owner).
11-

clients/rust/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ fn main() {
66
input: &["src/sysadminctl.proto"],
77
includes: &["src"],
88
}).expect("protoc");
9-
}
9+
}

decibel-cpp/include/decibel/niceuv/FileChangeEvent.h

-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,3 @@ class FileChangeEvent
4949
};
5050
}
5151
}
52-

decibel-cpp/src/decibel/niceuv/FileChangeEvent.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,3 @@ void FileChangeEvent::ChangeEventCallback(uv_fs_event_t* handle,
5959
}
6060
}
6161
}
62-

decibel-cpp/test/fixtures/EchoServerFixture.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ struct EchoServerFixture
2525
decibel::niceuv::EventLoop* mLoop;
2626
std::unique_ptr<decibel::niceuv::TcpServer> mServer;
2727
decibel::niceuv::TcpConnPtr mClientConn;
28-
};
28+
};

src/HookManager.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class HookManager
4949
std::vector<std::shared_ptr<const HookUser>>> HookDump;
5050
typedef HookTable::TemplatesSet TemplatesToRender;
5151
typedef HookTable::RunLevelServicesMap ServicesMap;
52-
52+
5353

5454
struct HookPipeline
5555
{
@@ -69,7 +69,7 @@ class HookManager
6969
folly::Future<folly::Unit> HandleCommit(const ConfigPairList& committed,
7070
bool run_services = true);
7171

72-
HookManager::HookPipeline GetHooksToRun(const ConfigPairList& committed,
72+
HookManager::HookPipeline GetHooksToRun(const ConfigPairList& committed,
7373
bool run_services = true);
7474

7575
HookManager::HookPipeline GetAllHooks();

src/TransactionManager.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ size_t TransactionManager::LogCommit(const ConfigPairList& toBeCommitted)
214214

215215
mCommitHistory.StoreCommit(commit);
216216
mStorage->StoreCommit(commit);
217-
217+
218218
DropExcessiveCommits();
219219

220220
return commit.mId;
@@ -264,7 +264,7 @@ bool TransactionManager::CanRollback(const CommitHistory& commitRolledBack)
264264
{
265265
auto current = mCommitHistory.GetChild(commitRolledBack.mId);
266266

267-
while (current)
267+
while (current)
268268
{
269269
CommitHistory childCommit = current.get();
270270
for (const auto& delta : commitRolledBack.mItems)

src/TransactionManager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AllCommitHistories
2323
AllCommitHistories(const std::vector<CommitHistory>& commits);
2424

2525
void StoreCommit(const CommitHistory& commit);
26-
26+
2727
boost::optional<CommitHistory> GetCommit(CommitHistory::CommitId commitId);
2828
boost::optional<CommitHistory> GetChild(CommitHistory::CommitId parentId);
2929
boost::optional<CommitHistory> DropOldestCommit();

0 commit comments

Comments
 (0)