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

[8.x] [Security Solution][Serverless Quality Gate] Restoring overrides functionality (#196536) #196608

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…tionality (elastic#196536)

## Summary

Due to a bug introduced in a previous PR, the `override` value was never
using the `process.env.KIBANA_MKI_IMAGE_COMMIT` environment variable.

The reason is that in the command line arguments argparse, commit value
had the default of `''` so the commit was never null or undefined.

```
    .option('commit', {
          alias: 'c',
          type: 'string',
          default: '',
        })
```

Restored the check to see if the string is also empty.

(cherry picked from commit cbe5d9a)
@kibanamachine kibanamachine merged commit 0e67e61 into elastic:8.x Oct 16, 2024
36 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @dkirchan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants