Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Stadlbauer <11799671+bstadlbauer@users.noreply.github.com>
  • Loading branch information
bstadlbauer committed Jun 8, 2023
1 parent fec30f1 commit 1761c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/tasks/plugins/k8s/dask/dask.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (p daskResourceHandler) GetTaskPhase(ctx context.Context, pluginContext k8s
OccurredAt: &occurredAt,
}

// There is a short period between the `DaskJob` resource being created and `Status.JobStatus` being set by the `dask-operator`.
// There is a short period between the `DaskJob` resource being created and `Status.JobStatus` being set by the `dask-operator`.
// In that period, the `JobStatus` will be an empty string. We're treating this as Initializing/Queuing.
isQueued := status == "" ||
status == daskAPI.DaskJobCreated ||
Expand Down

0 comments on commit 1761c85

Please sign in to comment.