Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit765314c

Browse files
ci: bump the github-actions group with 4 updates (#15359)
Bumps the github-actions group with 4 updates:[crate-ci/typos](https://github.com/crate-ci/typos),[google-github-actions/auth](https://github.com/google-github-actions/auth),[google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud)and[google-github-actions/get-gke-credentials](https://github.com/google-github-actions/get-gke-credentials).Updates `crate-ci/typos` from 1.26.8 to 1.27.0<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/crate-ci/typos/releases">crate-ci/typos'sreleases</a>.</em></p><blockquote><h2>v1.27.0</h2><h2>[1.27.0] - 2024-11-01</h2><h3>Features</h3><ul><li>Updated the dictionary with the <ahref="https://redirect.github.com/crate-ci/typos/issues/1106">October2024</a> changes</li></ul></blockquote></details><details><summary>Changelog</summary><p><em>Sourced from <ahref="https://github.com/crate-ci/typos/blob/master/CHANGELOG.md">crate-ci/typos'schangelog</a>.</em></p><blockquote><h1>Change Log</h1><p>All notable changes to this project will be documented in thisfile.</p><p>The format is based on <a href="http://keepachangelog.com/">Keep aChangelog</a>and this project adheres to <a href="http://semver.org/">SemanticVersioning</a>.</p><!-- raw HTML omitted --><h2>[Unreleased] - ReleaseDate</h2><h2>[1.27.0] - 2024-11-01</h2><h3>Features</h3><ul><li>Updated the dictionary with the <ahref="https://redirect.github.com/crate-ci/typos/issues/1106">October2024</a> changes</li></ul><h2>[1.26.8] - 2024-10-24</h2><h2>[1.26.7] - 2024-10-24</h2><h2>[1.26.6] - 2024-10-24</h2><h2>[1.26.5] - 2024-10-24</h2><h2>[1.26.4] - 2024-10-24</h2><h2>[1.26.3] - 2024-10-24</h2><h3>Fixes</h3><ul><li>Accept <code>additionals</code></li></ul><h2>[1.26.2] - 2024-10-24</h2><h3>Fixes</h3><ul><li>Accept <code>tesselate</code> variants</li></ul><h2>[1.26.1] - 2024-10-23</h2><h3>Fixes</h3><ul><li>Respect <code>--force-exclude</code> for binary files</li></ul><h2>[1.26.0] - 2024-10-07</h2><h3>Compatibility</h3><ul><li><em>(pre-commit)</em> Requires 3.2+</li></ul><h3>Fixes</h3><!-- raw HTML omitted --></blockquote><p>... (truncated)</p></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/crate-ci/typos/commit/d01f29c66d1bf1a08730750f61d86c210b0d039d"><code>d01f29c</code></a>chore: Release</li><li><ahref="https://github.com/crate-ci/typos/commit/52e950bb130b2bdee93bba2b1973c8f7d8ac5c46"><code>52e950b</code></a>chore: Release</li><li><ahref="https://github.com/crate-ci/typos/commit/19cfc03ea4e6fd581972b77eb3761351a4db7ee6"><code>19cfc03</code></a>docs: Update changelog</li><li><ahref="https://github.com/crate-ci/typos/commit/f80b1564bd618fb5325b8c0d52849ac7da0bbaea"><code>f80b156</code></a>Merge pull request <ahref="https://redirect.github.com/crate-ci/typos/issues/1140">#1140</a>from epage/oct</li><li><ahref="https://github.com/crate-ci/typos/commit/6b5c8079a9416f5aba90f4cc1348921aa72d9538"><code>6b5c807</code></a>feat(dict): Oct updates</li><li><ahref="https://github.com/crate-ci/typos/commit/d64f202a88f87f2e3fbbd1f5a45ab2ec3ef9b832"><code>d64f202</code></a>chore(deps): Update compatible (<ahref="https://redirect.github.com/crate-ci/typos/issues/1137">#1137</a>)</li><li><ahref="https://github.com/crate-ci/typos/commit/e903c4628799da0b9fc51e03d200e4fa62ba2c0a"><code>e903c46</code></a>Merge pull request <ahref="https://redirect.github.com/crate-ci/typos/issues/1136">#1136</a>from PigeonF/PigeonF/push-mlqnlvmswwmp</li><li><ahref="https://github.com/crate-ci/typos/commit/b994765ef920d85d7a7115db2e9afce611cdcf93"><code>b994765</code></a>chore: Fix typo &quot;potemtial&quot; -&gt; &quot;potential&quot;</li><li>See full diff in <ahref="https://github.com/crate-ci/typos/compare/0d9e0c2c1bd7f770f6eb90f87780848ca02fc12c...d01f29c66d1bf1a08730750f61d86c210b0d039d">compareview</a></li></ul></details><br />Updates `google-github-actions/auth` from 2.1.6 to 2.1.7<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/google-github-actions/auth/releases">google-github-actions/auth'sreleases</a>.</em></p><blockquote><h2>v2.1.7</h2><h2>What's Changed</h2><ul><li>fix: update relase workflows by <ahref="https://github.com/verbanicm"><code>@​verbanicm</code></a> in <ahref="https://redirect.github.com/google-github-actions/auth/pull/452">google-github-actions/auth#452</a></li><li>Release: v2.1.7 by <ahref="https://github.com/google-github-actions-bot"><code>@​google-github-actions-bot</code></a>in <ahref="https://redirect.github.com/google-github-actions/auth/pull/453">google-github-actions/auth#453</a></li></ul><p><strong>Full Changelog</strong>: <ahref="https://github.com/google-github-actions/auth/compare/v2.1.6...v2.1.7">https://github.com/google-github-actions/auth/compare/v2.1.6...v2.1.7</a></p></blockquote></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/google-github-actions/auth/commit/6fc4af4b145ae7821d527454aa9bd537d1f2dc5f"><code>6fc4af4</code></a>Release: v2.1.7 (<ahref="https://redirect.github.com/google-github-actions/auth/issues/453">#453</a>)</li><li><ahref="https://github.com/google-github-actions/auth/commit/212f83afe868cc88aa354e1efbf778eff05d970a"><code>212f83a</code></a>fix: update relase workflows (<ahref="https://redirect.github.com/google-github-actions/auth/issues/452">#452</a>)</li><li>See full diff in <ahref="https://github.com/google-github-actions/auth/compare/8254fb75a33b976a221574d287e93919e6a36f70...6fc4af4b145ae7821d527454aa9bd537d1f2dc5f">compareview</a></li></ul></details><br />Updates `google-github-actions/setup-gcloud` from 2.1.1 to 2.1.2<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/google-github-actions/setup-gcloud/releases">google-github-actions/setup-gcloud'sreleases</a>.</em></p><blockquote><h2>v2.1.2</h2><h2>What's Changed</h2><ul><li>fix: update release workflows by <ahref="https://github.com/verbanicm"><code>@​verbanicm</code></a> in <ahref="https://redirect.github.com/google-github-actions/setup-gcloud/pull/698">google-github-actions/setup-gcloud#698</a></li><li>Release: v2.1.2 by <ahref="https://github.com/google-github-actions-bot"><code>@​google-github-actions-bot</code></a>in <ahref="https://redirect.github.com/google-github-actions/setup-gcloud/pull/699">google-github-actions/setup-gcloud#699</a></li></ul><p><strong>Full Changelog</strong>: <ahref="https://github.com/google-github-actions/setup-gcloud/compare/v2.1.1...v2.1.2">https://github.com/google-github-actions/setup-gcloud/compare/v2.1.1...v2.1.2</a></p></blockquote></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/google-github-actions/setup-gcloud/commit/6189d56e4096ee891640bb02ac264be376592d6a"><code>6189d56</code></a>Release: v2.1.2 (<ahref="https://redirect.github.com/google-github-actions/setup-gcloud/issues/699">#699</a>)</li><li><ahref="https://github.com/google-github-actions/setup-gcloud/commit/413dc083dd5818edda432148520965d8255c729a"><code>413dc08</code></a>fix: update release workflows (<ahref="https://redirect.github.com/google-github-actions/setup-gcloud/issues/698">#698</a>)</li><li>See full diff in <ahref="https://github.com/google-github-actions/setup-gcloud/compare/f0990588f1e5b5af6827153b93673613abdc6ec7...6189d56e4096ee891640bb02ac264be376592d6a">compareview</a></li></ul></details><br />Updates `google-github-actions/get-gke-credentials` from 2.2.1 to 2.2.2<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/google-github-actions/get-gke-credentials/releases">google-github-actions/get-gke-credentials'sreleases</a>.</em></p><blockquote><h2>v2.2.2</h2><h2>What's Changed</h2><ul><li>Fix package name by <ahref="https://github.com/sethvargo"><code>@​sethvargo</code></a> in <ahref="https://redirect.github.com/google-github-actions/get-gke-credentials/pull/312">google-github-actions/get-gke-credentials#312</a></li><li>fix: update release workflows by <ahref="https://github.com/verbanicm"><code>@​verbanicm</code></a> in <ahref="https://redirect.github.com/google-github-actions/get-gke-credentials/pull/313">google-github-actions/get-gke-credentials#313</a></li><li>Release: v2.2.2 by <ahref="https://github.com/google-github-actions-bot"><code>@​google-github-actions-bot</code></a>in <ahref="https://redirect.github.com/google-github-actions/get-gke-credentials/pull/315">google-github-actions/get-gke-credentials#315</a></li></ul><p><strong>Full Changelog</strong>: <ahref="https://github.com/google-github-actions/get-gke-credentials/compare/v2.2.1...v2.2.2">https://github.com/google-github-actions/get-gke-credentials/compare/v2.2.1...v2.2.2</a></p></blockquote></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/google-github-actions/get-gke-credentials/commit/206d64b64b0eba0a6e2f25113d044c31776ca8d6"><code>206d64b</code></a>Release: v2.2.2 (<ahref="https://redirect.github.com/google-github-actions/get-gke-credentials/issues/315">#315</a>)</li><li><ahref="https://github.com/google-github-actions/get-gke-credentials/commit/0fead37d80f46cbcae8eb09300bd8186eb3b2d31"><code>0fead37</code></a>fix: update release workflows (<ahref="https://redirect.github.com/google-github-actions/get-gke-credentials/issues/313">#313</a>)</li><li><ahref="https://github.com/google-github-actions/get-gke-credentials/commit/d7d8311fd5e889897561404341b15a5c01310725"><code>d7d8311</code></a>Fix package name (<ahref="https://redirect.github.com/google-github-actions/get-gke-credentials/issues/312">#312</a>)</li><li>See full diff in <ahref="https://github.com/google-github-actions/get-gke-credentials/compare/6051de21ad50fbb1767bc93c11357a49082ad116...206d64b64b0eba0a6e2f25113d044c31776ca8d6">compareview</a></li></ul></details><br />Dependabot will resolve any conflicts with this PR as long as you don'talter it yourself. You can also trigger a rebase manually by commenting`@dependabot rebase`.[//]: # (dependabot-automerge-start)[//]: # (dependabot-automerge-end)---<details><summary>Dependabot commands and options</summary><br />You can trigger Dependabot actions by commenting on this PR:- `@dependabot rebase` will rebase this PR- `@dependabot recreate` will recreate this PR, overwriting any editsthat have been made to it- `@dependabot merge` will merge this PR after your CI passes on it- `@dependabot squash and merge` will squash and merge this PR afteryour CI passes on it- `@dependabot cancel merge` will cancel a previously requested mergeand block automerging- `@dependabot reopen` will reopen this PR if it is closed- `@dependabot close` will close this PR and stop Dependabot recreatingit. You can achieve the same result by closing it manually- `@dependabot show <dependency name> ignore conditions` will show allof the ignore conditions of the specified dependency- `@dependabot ignore <dependency name> major version` will close thisgroup update PR and stop Dependabot creating any more for the specificdependency's major version (unless you unignore this specificdependency's major version or upgrade to it yourself)- `@dependabot ignore <dependency name> minor version` will close thisgroup update PR and stop Dependabot creating any more for the specificdependency's minor version (unless you unignore this specificdependency's minor version or upgrade to it yourself)- `@dependabot ignore <dependency name>` will close this group update PRand stop Dependabot creating any more for the specific dependency(unless you unignore this specific dependency or upgrade to it yourself)- `@dependabot unignore <dependency name>` will remove all of the ignoreconditions of the specified dependency- `@dependabot unignore <dependency name> <ignore condition>` willremove the ignore condition of the specified dependency and ignoreconditions</details>---------Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Co-authored-by: Muhammad Atif Ali <me@matifali.dev>
1 parent871cc05 commit765314c

File tree

7 files changed

+24
-23
lines changed

7 files changed

+24
-23
lines changed

‎.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
189189
# Check for any typos
190190
-name:Check for typos
191-
uses:crate-ci/typos@0d9e0c2c1bd7f770f6eb90f87780848ca02fc12c# v1.26.8
191+
uses:crate-ci/typos@d01f29c66d1bf1a08730750f61d86c210b0d039d# v1.27.0
192192
with:
193193
config:.github/workflows/typos.toml
194194

@@ -954,13 +954,13 @@ jobs:
954954
fetch-depth:0
955955

956956
-name:Authenticate to Google Cloud
957-
uses:google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70# v2.1.6
957+
uses:google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f# v2.1.7
958958
with:
959959
workload_identity_provider:projects/573722524737/locations/global/workloadIdentityPools/github/providers/github
960960
service_account:coder-ci@coder-dogfood.iam.gserviceaccount.com
961961

962962
-name:Set up Google Cloud SDK
963-
uses:google-github-actions/setup-gcloud@f0990588f1e5b5af6827153b93673613abdc6ec7# v2.1.1
963+
uses:google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a# v2.1.2
964964

965965
-name:Set up Flux CLI
966966
uses:fluxcd/flux2/action@5350425cdcd5fa015337e09fa502153c0275bd4b# v2.4.0
@@ -969,7 +969,7 @@ jobs:
969969
version:"2.2.1"
970970

971971
-name:Get Cluster Credentials
972-
uses:google-github-actions/get-gke-credentials@6051de21ad50fbb1767bc93c11357a49082ad116# v2.2.1
972+
uses:google-github-actions/get-gke-credentials@206d64b64b0eba0a6e2f25113d044c31776ca8d6# v2.2.2
973973
with:
974974
cluster_name:dogfood-v2
975975
location:us-central1-a

‎.github/workflows/dogfood.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
uses:./.github/actions/setup-tf
101101

102102
-name:Authenticate to Google Cloud
103-
uses:google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70# v2.1.6
103+
uses:google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f# v2.1.7
104104
with:
105105
workload_identity_provider:projects/573722524737/locations/global/workloadIdentityPools/github/providers/github
106106
service_account:coder-ci@coder-dogfood.iam.gserviceaccount.com

‎.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,14 @@ jobs:
192192
# Setup GCloud for signing Windows binaries.
193193
-name:Authenticate to Google Cloud
194194
id:gcloud_auth
195-
uses:google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70# v2.1.6
195+
uses:google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f# v2.1.7
196196
with:
197197
workload_identity_provider:${{ secrets.GCP_CODE_SIGNING_WORKLOAD_ID_PROVIDER }}
198198
service_account:${{ secrets.GCP_CODE_SIGNING_SERVICE_ACCOUNT }}
199199
token_format:"access_token"
200200

201201
-name:Setup GCloud SDK
202-
uses:google-github-actions/setup-gcloud@f0990588f1e5b5af6827153b93673613abdc6ec7# v2.1.1
202+
uses:google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a# v2.1.2
203203

204204
-name:Build binaries
205205
run:|
@@ -365,13 +365,13 @@ jobs:
365365
CODER_GPG_RELEASE_KEY_BASE64:${{ secrets.GPG_RELEASE_KEY_BASE64 }}
366366

367367
-name:Authenticate to Google Cloud
368-
uses:google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70# v2.1.6
368+
uses:google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f# v2.1.7
369369
with:
370370
workload_identity_provider:${{ secrets.GCP_WORKLOAD_ID_PROVIDER }}
371371
service_account:${{ secrets.GCP_SERVICE_ACCOUNT }}
372372

373373
-name:Setup GCloud SDK
374-
uses:google-github-actions/setup-gcloud@f0990588f1e5b5af6827153b93673613abdc6ec7# 2.1.1
374+
uses:google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a# 2.1.2
375375

376376
-name:Publish Helm Chart
377377
if:${{ !inputs.dry_run }}

‎.github/workflows/typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ EDE = "EDE"
2323
# HELO is an SMTP command
2424
HELO ="HELO"
2525
LKE ="LKE"
26+
byt ="byt"
2627

2728
[files]
2829
extend-exclude = [

‎coderd/database/dbmem/dbmem.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ func minTime(t, u time.Time) time.Time {
941941
returnu
942942
}
943943

944-
funcprovisonerJobStatus(j database.ProvisionerJob) database.ProvisionerJobStatus {
944+
funcprovisionerJobStatus(j database.ProvisionerJob) database.ProvisionerJobStatus {
945945
ifisNotNull(j.CompletedAt) {
946946
ifj.Error.String!="" {
947947
returndatabase.ProvisionerJobStatusFailed
@@ -1202,7 +1202,7 @@ func (q *FakeQuerier) AcquireProvisionerJob(_ context.Context, arg database.Acqu
12021202
provisionerJob.StartedAt=arg.StartedAt
12031203
provisionerJob.UpdatedAt=arg.StartedAt.Time
12041204
provisionerJob.WorkerID=arg.WorkerID
1205-
provisionerJob.JobStatus=provisonerJobStatus(provisionerJob)
1205+
provisionerJob.JobStatus=provisionerJobStatus(provisionerJob)
12061206
q.provisionerJobs[index]=provisionerJob
12071207
// clone the Tags before returning, since maps are reference types and
12081208
// we don't want the caller to be able to mutate the map we have inside
@@ -7456,7 +7456,7 @@ func (q *FakeQuerier) InsertProvisionerJob(_ context.Context, arg database.Inser
74567456
Tags:maps.Clone(arg.Tags),
74577457
TraceMetadata:arg.TraceMetadata,
74587458
}
7459-
job.JobStatus=provisonerJobStatus(job)
7459+
job.JobStatus=provisionerJobStatus(job)
74607460
q.provisionerJobs=append(q.provisionerJobs,job)
74617461
returnjob,nil
74627462
}
@@ -8842,7 +8842,7 @@ func (q *FakeQuerier) UpdateProvisionerJobByID(_ context.Context, arg database.U
88428842
continue
88438843
}
88448844
job.UpdatedAt=arg.UpdatedAt
8845-
job.JobStatus=provisonerJobStatus(job)
8845+
job.JobStatus=provisionerJobStatus(job)
88468846
q.provisionerJobs[index]=job
88478847
returnnil
88488848
}
@@ -8863,7 +8863,7 @@ func (q *FakeQuerier) UpdateProvisionerJobWithCancelByID(_ context.Context, arg
88638863
}
88648864
job.CanceledAt=arg.CanceledAt
88658865
job.CompletedAt=arg.CompletedAt
8866-
job.JobStatus=provisonerJobStatus(job)
8866+
job.JobStatus=provisionerJobStatus(job)
88678867
q.provisionerJobs[index]=job
88688868
returnnil
88698869
}
@@ -8886,7 +8886,7 @@ func (q *FakeQuerier) UpdateProvisionerJobWithCompleteByID(_ context.Context, ar
88868886
job.CompletedAt=arg.CompletedAt
88878887
job.Error=arg.Error
88888888
job.ErrorCode=arg.ErrorCode
8889-
job.JobStatus=provisonerJobStatus(job)
8889+
job.JobStatus=provisionerJobStatus(job)
88908890
q.provisionerJobs[index]=job
88918891
returnnil
88928892
}

‎coderd/httpmw/workspaceproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func ExtractWorkspaceProxy(opts ExtractWorkspaceProxyConfig) func(http.Handler)
148148

149149
typeworkspaceProxyParamContextKeystruct{}
150150

151-
// WorkspaceProxyParam returns theworksace proxy from the ExtractWorkspaceProxyParam handler.
151+
// WorkspaceProxyParam returns theworkspace proxy from the ExtractWorkspaceProxyParam handler.
152152
funcWorkspaceProxyParam(r*http.Request) database.WorkspaceProxy {
153153
user,ok:=r.Context().Value(workspaceProxyParamContextKey{}).(database.WorkspaceProxy)
154154
if!ok {

‎coderd/unhanger/detector.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ func (acquireLockError) Error() string {
5757
return"lock is held by another client"
5858
}
5959

60-
//jobInelligibleError is returned when a job is not eligible to be terminated
60+
//jobIneligibleError is returned when a job is not eligible to be terminated
6161
// anymore.
62-
typejobInelligibleErrorstruct {
62+
typejobIneligibleErrorstruct {
6363
Errerror
6464
}
6565

6666
// Error implements error.
67-
func (ejobInelligibleError)Error()string {
67+
func (ejobIneligibleError)Error()string {
6868
returnfmt.Sprintf("job is no longer eligible to be terminated: %s",e.Err)
6969
}
7070

@@ -198,7 +198,7 @@ func (d *Detector) run(t time.Time) Stats {
198198

199199
err:=unhangJob(ctx,log,d.db,d.pubsub,job.ID)
200200
iferr!=nil {
201-
if!(xerrors.As(err,&acquireLockError{})||xerrors.As(err,&jobInelligibleError{})) {
201+
if!(xerrors.As(err,&acquireLockError{})||xerrors.As(err,&jobIneligibleError{})) {
202202
log.Error(ctx,"error forcefully terminating hung provisioner job",slog.Error(err))
203203
}
204204
continue
@@ -233,17 +233,17 @@ func unhangJob(ctx context.Context, log slog.Logger, db database.Store, pub pubs
233233
if!job.StartedAt.Valid {
234234
// This shouldn't be possible to hit because the query only selects
235235
// started and not completed jobs, and a job can't be "un-started".
236-
returnjobInelligibleError{
236+
returnjobIneligibleError{
237237
Err:xerrors.New("job is not started"),
238238
}
239239
}
240240
ifjob.CompletedAt.Valid {
241-
returnjobInelligibleError{
241+
returnjobIneligibleError{
242242
Err:xerrors.Errorf("job is completed (status %s)",job.JobStatus),
243243
}
244244
}
245245
ifjob.UpdatedAt.After(time.Now().Add(-HungJobDuration)) {
246-
returnjobInelligibleError{
246+
returnjobIneligibleError{
247247
Err:xerrors.New("job has been updated recently"),
248248
}
249249
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp