Skip to content

Commit

Permalink
trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
gsemet committed Mar 22, 2018
1 parent 4f09162 commit 7eb0403
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions kubespawner/reflector.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,3 @@ def start(self):
# If the watch_thread is only thread left alive, exit app
self.watch_thread.daemon = True
self.watch_thread.start()


12 changes: 6 additions & 6 deletions kubespawner/spawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def _hub_connect_port_default(self):
List of access modes the user has for the pvc.
The access modes are:
- `ReadWriteOnce` – the volume can be mounted as read-write by a single node
- `ReadOnlyMany` – the volume can be mounted read-only by many nodes
- `ReadWriteMany` – the volume can be mounted as read-write by many nodes
Expand All @@ -642,7 +642,7 @@ def _hub_connect_port_default(self):
The keys is name of hooks and there are only two hooks, postStart and preStop.
The values are handler of hook which executes by Kubernetes management system when hook is called.
Below is an sample copied from
Below is an sample copied from
`Kubernetes doc <https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/>`_ ::
lifecycle:
Expand Down Expand Up @@ -681,7 +681,7 @@ def _hub_connect_port_default(self):
add:
- NET_ADMIN
See https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ for more
info on what init containers are and why you might want to use them!
Expand Down Expand Up @@ -747,15 +747,15 @@ def _hub_connect_port_default(self):
which follows spec at https://v1-6.docs.kubernetes.io/docs/api-reference/v1.6/#container-v1-core.
One usage is setting crontab in a container to clean sensitive data with configuration below::
[
{
'name': 'crontab',
'image': 'supercronic',
'command': ['/usr/local/bin/supercronic', '/etc/crontab']
}
]
"""
)

Expand Down Expand Up @@ -820,7 +820,7 @@ def _hub_connect_port_default(self):
)

options_form = Unicode()

profile_list = List(
trait = Dict(),
default_value = None,
Expand Down

0 comments on commit 7eb0403

Please sign in to comment.