Skip to content

Remove empty methods in ssh extension#350

Merged
tfoote merged 1 commit intoosrf:mainfrom
miguelprada:remove-empty-methods-ssh-extension
Feb 18, 2026
Merged

Remove empty methods in ssh extension#350
tfoote merged 1 commit intoosrf:mainfrom
miguelprada:remove-empty-methods-ssh-extension

Conversation

@miguelprada
Copy link
Copy Markdown
Contributor

SSH extension was broken by the change to the validate_environment method introduced in #338.

Since the method was empty and is already implemented in the base RockerExtension class, I went ahead and removed it from Ssh extension class. And did the same for the also empty precondition_environment since I was on it.

@miguelprada miguelprada requested a review from tfoote as a code owner February 18, 2026 10:53
Copy link
Copy Markdown
Collaborator

@tfoote tfoote left a comment

Choose a reason for hiding this comment

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

Thanks for the fixup. I didn't plan for full backwards compatibility on this as that function was previously never used and I assumed that there was no implementations prior.

@tfoote tfoote merged commit ea5d76a into osrf:main Feb 18, 2026
4 checks passed
tfoote added a commit that referenced this pull request Feb 18, 2026
Error induced in #338 Example fix needed for most implmentation in #350
tfoote added a commit to tfoote/ghrocker that referenced this pull request Feb 18, 2026
Removed unused precondition and validation methods. Same fix as osrf/rocker#350
tfoote added a commit to tfoote/ghrocker that referenced this pull request Feb 18, 2026
Removed unused precondition and validation methods. Same fix as osrf/rocker#350
tfoote added a commit that referenced this pull request Feb 20, 2026
…351) Error induced in #338 Example fix needed for most implmentation in #350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants