Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed Jul 7, 2023
1 parent 3874684 commit 5c201d1
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions binderhub/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,20 +605,20 @@ def _check_result(future):
# Launch after building an image
with LAUNCHES_INPROGRESS.track_inprogress():
await self.launch(provider)
self.event_log.emit(
"binderhub.jupyter.org/launch",
5,
{
"provider": provider.name,
"spec": spec,
"ref": ref,
"status": "success",
"build_token": self._have_build_token,
"origin": self.settings["normalized_origin"]
if self.settings["normalized_origin"]
else self.request.host,
},
)
self.event_log.emit(
"binderhub.jupyter.org/launch",
5,
{
"provider": provider.name,
"spec": spec,
"ref": ref,
"status": "success",
"build_token": self._have_build_token,
"origin": self.settings["normalized_origin"]
if self.settings["normalized_origin"]
else self.request.host,
},
)

# Don't close the eventstream immediately.
# (javascript) eventstream clients reconnect automatically on dropped connections,
Expand Down

0 comments on commit 5c201d1

Please sign in to comment.