Adjusting clang format configuration to prevent grouping all parameters into a single line for long lists
In recent changes to the CtaAdminTextFormatter.cpp file the clang formatter changes:
push_back(
reportedLogicalLibrary,
drls_item.drive_name(),
drls_item.host(),
(drls_item.desired_drive_state() == DriveLsItem::UP ? "Up" : "Down"),
toCamelCaseString(ProtobufToMountType(drls_item.mount_type())),
toString(ProtobufToDriveStatus(drls_item.drive_status())),
driveStatusSince,
drls_item.vid(),
drls_item.tapepool(),
drls_item.vo(),
filesTransferredInSession,
bytesTransferredInSession,
averageBandwidth,
sessionId,
drls_item.current_priority(),
drls_item.current_activity(),
timeSinceLastUpdate,
reason
);
into:
push_back(reportedLogicalLibrary, drls_item.drive_name(), drls_item.host(),
(drls_item.desired_drive_state() == DriveLsItem::UP ? "Up" : "Down"),
toCamelCaseString(ProtobufToMountType(drls_item.mount_type())),
toString(ProtobufToDriveStatus(drls_item.drive_status())), driveStatusSince, drls_item.vid(),
drls_item.tapepool(), drls_item.vo(), filesTransferredInSession, bytesTransferredInSession,
averageBandwidth, sessionId, drls_item.current_priority(), drls_item.current_activity(),
timeSinceLastUpdate, reason);
We prefer the previous version.