Skip to content

Commit 3090ffd

Browse files
docs: 📝 fix typos in docstrings for _dns, _memory, and _statistics
1 parent 203b0eb commit 3090ffd

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

pyedgeconnect/ecos/_dns.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ def get_appliance_dns_config(
2121
- /resolver
2222
2323
:return: Returns dictionary of current appliance dns configuration\n
24-
* keyword **domain_search*** (`dict`): Domain search settings \n
24+
* keyword **domain_search** (`dict`): Domain search settings \n
2525
* keyword **<Order of search 1-6>** (`dict`): \n
2626
* keyword **self** (`int`): Order of Domain Name, which
2727
should be the same as this entry's key
2828
* keyword **domainname** (`str`): Search Domain
29-
* keyword **nameserver*** (`dict`): Name server settings \n
29+
* keyword **nameserver** (`dict`): Name server settings \n
3030
* keyword **1** (`dict`): Primary name server\n
3131
* keyword **self** (`int`): Order of Name Server, which
3232
should be the same as this entry's key

pyedgeconnect/ecos/_memory.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ def get_appliance_memory(
2121
2222
:return: Returns dictionary of current memory utilization on
2323
appliance, all units in bytes \n
24-
* keyword **total*** (`int`): Total memory
25-
* keyword **free*** (`int`): Free memory
26-
* keyword **buffers*** (`int`): Buffers memory
27-
* keyword **cached*** (`int`): Cached memory
28-
* keyword **used*** (`int`): Used memory
29-
* keyword **swapTotal*** (`int`): Swap total memory
30-
* keyword **swapFree*** (`int`): Swap free memory
31-
* keyword **swapUsed*** (`int`): Swap used memory
24+
* keyword **total** (`int`): Total memory
25+
* keyword **free** (`int`): Free memory
26+
* keyword **buffers** (`int`): Buffers memory
27+
* keyword **cached** (`int`): Cached memory
28+
* keyword **used** (`int`): Used memory
29+
* keyword **swapTotal** (`int`): Swap total memory
30+
* keyword **swapFree** (`int`): Swap free memory
31+
* keyword **swapUsed** (`int`): Swap used memory
3232
:rtype: dict
3333
"""
3434
return self._get("/memory")

pyedgeconnect/ecos/_statistics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def get_appliance_stats_minute_range(self) -> dict:
2727
2828
:return: Dictionary of newest and oldest minute stat times \n
2929
* keyword **newest** (`int`): Epoch seconds timestamp of latest
30-
available appliance minute data
30+
available appliance minute data
3131
* keyword **oldest** (`int`): Epoch seconds timestamp of oldest
32-
available appliance minute data
32+
available appliance minute data
3333
:rtype: dict
3434
"""
3535
return self._get("/stats/minuteRange")

0 commit comments

Comments
 (0)