Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Renames the callback & remove redundant checks #32

Merged
merged 3 commits into from
Aug 4, 2021
Merged

Conversation

olexii4
Copy link
Collaborator

@olexii4 olexii4 commented Aug 4, 2021

What does this PR do?

This PR renames the callback: 'onStatusChange' -> 'onModified'

What issues does this PR fix or reference?

It needs for eclipse-che/che#19987

Signed-off-by: Oleksii Orel oorel@redhat.com

Signed-off-by: Oleksii Orel <oorel@redhat.com>
Copy link
Collaborator

@sleshchenko sleshchenko left a comment

Choose a reason for hiding this comment

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

We discussed some further changes but the current state is good to proceed with

return;
}

if (type === 'ADDED') {
callbacks.onAdded(devworkspace);
if ( status === 'Stopped') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
if ( status === 'Stopped') {
if (status === 'Stopped') {

@sleshchenko sleshchenko changed the title Renames the callback Renames the callback & remove redundant checks Aug 4, 2021
@sleshchenko sleshchenko merged commit 89a18f6 into main Aug 4, 2021
@sleshchenko sleshchenko deleted the CHE-19987 branch August 4, 2021 14:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants