Skip to content

Commit

Permalink
[Nuclio] Fix default last log timestamp to 0 (from None) (#1074)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedingber committed Jun 30, 2021
1 parent 64f3ef2 commit 2297e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlrun/runtimes/function.py
Expand Up @@ -432,7 +432,7 @@ def with_node_selection(
def _get_state(
self,
dashboard="",
last_log_timestamp=None,
last_log_timestamp=0,
verbose=False,
raise_on_exception=True,
):
Expand Down Expand Up @@ -805,7 +805,7 @@ def deploy_nuclio_function(function: RemoteRuntime, dashboard="", watch=False):


def get_nuclio_deploy_status(
name, project, tag, dashboard="", last_log_timestamp=None, verbose=False
name, project, tag, dashboard="", last_log_timestamp=0, verbose=False
):
api_address = find_dashboard_url(dashboard or mlconf.nuclio_dashboard_url)
name = get_fullname(name, project, tag)
Expand Down

0 comments on commit 2297e22

Please sign in to comment.