[Trivial Fix] fix typos in docstrings

Story: 2005027
Task: 29506

Change-Id: I250e0d381f2e1b78d4a2c7bf9a1b6a5422b66a12
This commit is contained in:
melissaml 2019-02-14 14:24:06 +08:00
parent b01f8ea964
commit f68f3e06d0
14 changed files with 14 additions and 14 deletions

View File

@ -652,7 +652,7 @@ def is_low_core_system(ihost, dba):
"""Determine whether a low core cpu count system.
Determine if the hosts core count is less than or equal to a xeon-d cpu
used with get_required_platform_reserved_memory to set the the required
used with get_required_platform_reserved_memory to set the required
platform memory for xeon-d systems
"""
cpu_list = dba.cpu_get_by_host(ihost['uuid'])

View File

@ -341,7 +341,7 @@ void mtcTimer_reset ( struct mtc_timer * mtcTimer_ptr )
* timers at that time. They are defaulted to zero and should
* remain that way. The mtcTimer_dump_data utility can be
* called periodically by a process audit, will create a Swerr
* log with the recorded data and then clear the these vars only
* log with the recorded data and then clear these vars only
* to allow the next occurance to be recorded and loged on the
* next audit interval.
*

View File

@ -697,7 +697,7 @@ int pingUtil_acc_monitor ( ping_info_type & ping_info )
{
if ( ++ping_info.recv_retries > (PING_MAX_RECV_RETRIES) )
{
/* only print this log once on the the resend attempt */
/* only print this log once on the resend attempt */
if ( ping_info.send_retries >= PING_MAX_SEND_RETRIES )
{
mlog ("%s ping recv from %s missed ; identity:%04x sequence:%04x (try %d of %d)\n",

View File

@ -63,7 +63,7 @@ static void __retry_holdoff( int delay )
* The signal handler is serviced.
*
* Behavior : Issue non-blocking token request. If the request fails
* immediately the the far end did not connect and we backoff
* immediately the far end did not connect and we backoff
* for RETRY_DELAY seconds. With a successful send we loop for
* up to 2 seconds longer than the specified timeout, Any failure
* results in a retry after RETRY_DELAY seconds.

View File

@ -7283,7 +7283,7 @@ int nodeLinkClass::ar_manage ( struct nodeLinkClass::node * node_ptr,
*
* Name : report_dor_recovery
*
* Description: Create a specifically formatted log for the the specified
* Description: Create a specifically formatted log for the specified
* hosts DOR recovery state and timing.
*
* Parameters : The node and a caller prefix string that states if the node

View File

@ -340,7 +340,7 @@ class hwmonHostClass
*
* ipmi_load_sensor_samples - loads the samples into the sample list.
*
* ipmi_update_sensors - updates the the hwmond with the latest sensor
* ipmi_update_sensors - updates the hwmond with the latest sensor
* sample severity level for the specified host.
*
*************************************************************************/

View File

@ -1596,7 +1596,7 @@ int hwmonHostClass::ipmi_sensor_monitor ( struct hwmonHostClass::hwmon_host * ho
ptr->status.c_str(),
get_severity(severity).c_str());
/* debounce of the the transient 'na' case is debounced
/* debounce of the transient 'na' case is debounced
* if ( host_ptr->sensor_query_count > 5 )
* log_sensor_data ( host_ptr, ptr->sensorname, ptr->status, get_ipmi_severity(ptr->sample_severity));
*/

View File

@ -106,7 +106,7 @@ int mtcInvApi_read_inventory ( int batch )
dlog ("Path:%s\n", obj_ptr->sysinvEvent.token.url.c_str());
/* The inventory server returns a path the the next element.
/* The inventory server returns a path the next element.
* This code manages the setting the entity path that allows
* a walk through the inventory on subsequent calls if the
* batch number is less that the provisioned inventory number

View File

@ -76,7 +76,7 @@ static bool add_host_to_awol_list ( string hostname, std::list<string> & mnfa_aw
*
* Name : mnfa_add_host
*
* Description: Add a failed host the the mnfa count and manage
* Description: Add a failed host the mnfa count and manage
* the failed list
*
*****************************************************************************/

View File

@ -780,7 +780,7 @@ int nodeLinkClass::workQueue_done ( struct nodeLinkClass::node * node_ptr )
{
int rc = PASS ;
/* have we timed out waiting the the work queue tom deplete */
/* have we timed out waiting the work queue to deplete */
if ( node_ptr->mtcTimer.ring == true )
{
qlog ( "%s Ring handler\n" , node_ptr->hostname.c_str());

View File

@ -7,7 +7,7 @@
#
# This utility is primarily used by no reboot patching for process restart
#
# This script sends a jason string containing the the restart command
# This script sends a json string containing the restart command
# and ${1} as the specified process name to pmond over the loopback
# interface on port 2117
#

View File

@ -7,7 +7,7 @@
#
# This utility is primarily used by no reboot patching for process restart
#
# This script sends a jason string containing the the restart command
# This script sends a json string containing the restart command
# and ${1} as the specified process name to pmond over the loopback
# interface on port 2117
#

View File

@ -7,7 +7,7 @@
#
# This utility is primarily used by no reboot patching for process restart
#
# This script sends a jason string containing the the restart command
# This script sends a json string containing the restart command
# and ${1} as the specified process name to pmond over the loopback
# interface on port 2117
#

View File

@ -7,7 +7,7 @@
#
# This utility is primarily used by no reboot patching for process restart
#
# This script sends a jason string containing the the restart command
# This script sends a json string containing the restart command
# and ${1} as the specified process name to pmond over the loopback
# interface on port 2117
#