Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ linters:
gosec:
excludes:
- G601
govet:
enable:
- fieldalignment
lll:
line-length: 120
misspell:
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ _Appears in:_




RayCronJob is the Schema for the raycronjobs API



Expand Down
2 changes: 1 addition & 1 deletion ray-operator/apis/ray/v1/raycronjob_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type RayCronJobStatus struct {
// +kubebuilder:resource:categories=all
// +kubebuilder:storageversion
//
//nolint:govet // RayCronJob is the Schema for the raycronjobs API
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep the original comment // RayCronJob is the Schema for the raycronjobs API

Copy link
Contributor Author

@jinbum-kim jinbum-kim Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

restore in here

// RayCronJob is the Schema for the raycronjobs API
type RayCronJob struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down
2 changes: 0 additions & 2 deletions ray-operator/apis/ray/v1/rayjob_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,6 @@ type RayJobStatusInfo struct {
}

// RayJobSpec defines the desired state of RayJob
//
//nolint:govet // Prevent reordering fields and removing comments
type RayJobSpec struct {
// ActiveDeadlineSeconds is the duration in seconds that the RayJob may be active before
// KubeRay actively tries to terminate the RayJob; value must be positive integer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ func TestEmitRayJobExecutionDuration(t *testing.T) {
rayJobUID := types.UID("test-job-uid")
mockTime := time.Now().Add(-60 * time.Second)

//nolint:govet // disable govet to keep the order of the struct fields
tests := []struct {
name string
originalRayJobStatus rayv1.RayJobStatus
Expand Down

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

Loading