clang: do not break string literals
The community decided to allow string literals to go past the 80 char
limit. Update the clang file used by state-manager and change a few of
the strings to take advantage of this new setting.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I77dec79937fb71a43b10369846be47768c168856
diff --git a/scheduled_host_transition.cpp b/scheduled_host_transition.cpp
index dd83f4a..6329a93 100644
--- a/scheduled_host_transition.cpp
+++ b/scheduled_host_transition.cpp
@@ -54,8 +54,8 @@
if (timer.isEnabled())
{
timer.setEnabled(false);
- debug("scheduledTime: The function Scheduled Host Transition is "
- "disabled.");
+ debug(
+ "scheduledTime: The function Scheduled Host Transition is disabled.");
}
}
else
@@ -63,8 +63,8 @@
auto deltaTime = seconds(value) - getTime();
if (deltaTime < seconds(0))
{
- error("Scheduled time is earlier than current time. Fail to "
- "schedule host transition.");
+ error(
+ "Scheduled time is earlier than current time. Fail to schedule host transition.");
elog<InvalidTimeError>(
InvalidTime::REASON("Scheduled time is in the past"));
}
@@ -181,8 +181,8 @@
if (schedTime == 0)
{
- debug("handleTimeUpdates: The function Scheduled Host Transition is "
- "disabled.");
+ debug(
+ "handleTimeUpdates: The function Scheduled Host Transition is disabled.");
return;
}