Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move steplib step activator from CLI to stepman #979

Merged
merged 8 commits into from
Jul 5, 2024

Conversation

ofalvai
Copy link
Contributor

@ofalvai ofalvai commented Jun 28, 2024

Checklist

Version

Requires a MAJOR/MINOR/PATCH version update

Context

#973

Changes

Investigation details

Decisions

stepInfo, didUpdate, err := activateStepLibStep(stepIDData, stepDir, stepYMLPth, isStepLibUpdated, isSteplibOfflineMode)
didStepLibUpdate = didUpdate

stepInfoPtr.ID = stepInfo.ID
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the stepInfoPtr update happening within activator.ActivateSteplibRefStep?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

if err != nil {
return "", "", didStepLibUpdate, err
return "", "", didStepLibUpdate, fmt.Errorf("activate steplib step reference: %w", err)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need reference at the end of the error message? I think we activate the StepLib step rather than its reference.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@ofalvai ofalvai requested a review from godrei July 1, 2024 11:49
@ofalvai ofalvai merged commit bb0846b into master Jul 5, 2024
5 checks passed
@ofalvai ofalvai deleted the ofalvai/steplib-step-activator branch July 5, 2024 06:52
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