Skip to content

Commit 6d739a7

Browse files
evsashajtpio
andauthored
Fix typo in default username fo jupyter (#239)
Co-authored-by: Jeremy Tuloup <[email protected]>
1 parent 9c24710 commit 6d739a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ c = get_config()
153153
c.ResourceUseDisplay.track_disk_usage = True
154154
```
155155

156-
The values are from the partition containing the folder in the trait `disk_path` (which defaults to `/home/joyvan`). If this path does not exist, disk usage information is omitted from the display.
156+
The values are from the partition containing the folder in the trait `disk_path` (which defaults to `/home/jovyan`). If this path does not exist, disk usage information is omitted from the display.
157157

158158
Mirroring CPU and Memory, the trait `disk_warning_threshold` signifies when to flag a usage warning, and like the others, it defaults to `0.1` (10% remaining)
159159

jupyter_resource_usage/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ResourceUseDisplay(Configurable):
4141
# Needs to be defined early, so the metrics can use it.
4242
disk_path = Union(
4343
trait_types=[Unicode(), Callable()],
44-
default_value="/home/joyvan",
44+
default_value="/home/jovyan",
4545
help="""
4646
A path in the partition to be reported on.
4747
""",
@@ -155,7 +155,7 @@ def _cpu_limit_default(self):
155155

156156
@default("disk_path")
157157
def _disk_path_default(self):
158-
return str(os.environ.get("HOME", "/home/joyvan"))
158+
return str(os.environ.get("HOME", "/home/jovyan"))
159159

160160
disk_warning_threshold = Float(
161161
default_value=0.1,

0 commit comments

Comments
 (0)