Skip to content

Conversation

@fscnick
Copy link
Collaborator

@fscnick fscnick commented Dec 30, 2024

Why are these changes needed?

According to Effetive Go inteface check
The appearance of the blank identifier in this construct indicates that the declaration exists only for the type checking, not to create a variable. Don't do this for every type that satisfies an interface, though. By convention, such declarations are only used when there are no static conversions already present in the code, which is a rare event.

The complete() function call has ensured that.

Related issue number

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

Signed-off-by: fscnick <fscnick.dev@gmail.com>
@fscnick
Copy link
Collaborator Author

fscnick commented Dec 30, 2024

If trying to change the reconcile function name, which makes reconcile.Reconciler not implemented. It will prompt compilation error.
image

@kevin85421 kevin85421 merged commit 7b18090 into ray-project:master Dec 31, 2024
24 checks passed
@fscnick fscnick deleted the chore/remove-interface-checks branch December 31, 2024 09:46
Ygnas pushed a commit to Ygnas/kuberay that referenced this pull request Mar 20, 2025
Signed-off-by: fscnick <fscnick.dev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants