Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

enhance: add the ability to require compute classes #2476

Merged
merged 8 commits into from
Feb 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
include missed generates
Signed-off-by: Oscar Ward <oscar@acorn.io>
Oscar Ward committed Feb 12, 2024
commit f35e4ff7a106b9e077533d22ff991e6b22695f9b
5 changes: 5 additions & 0 deletions pkg/apis/api.acorn.io/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion pkg/openapi/generated/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.


Unchanged files with check annotations Beta

package scheduling
import (
"fmt"

Check failure on line 4 in pkg/controller/scheduling/scheduling.go

GitHub Actions / validate

File is not `gofmt`-ed with `-s` (gofmt)
"github.com/acorn-io/baaah/pkg/router"
v1 "github.com/acorn-io/runtime/pkg/apis/internal.acorn.io/v1"
}
}
func SetRequireComputeClassWithRestore(t *testing.T, ctx context.Context, kclient kclient.WithWatch) {

Check warning on line 73 in integration/helper/config.go

GitHub Actions / validate

context-as-argument: context.Context should be the first parameter of a function (revive)
t.Helper()

Check failure on line 74 in integration/helper/config.go

GitHub Actions / validate

File is not `gofmt`-ed with `-s` (gofmt)
cfg, err := config.Get(ctx, kclient)

Check failure on line 76 in integration/helper/config.go

GitHub Actions / validate

File is not `goimports`-ed (goimports)
if err != nil {
t.Fatal(err)
}