Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Fix check for null environment variable #1198

Merged
merged 1 commit into from
Jun 25, 2020

Conversation

pablochacin
Copy link
Contributor

@pablochacin pablochacin commented Jun 25, 2020

Why is this PR needed?

After changes introduced in #1180 the daily e2e tests fail because some environment variables are not defined.

What does this PR do?

Fix the check for environment variables not set.

Merge restrictions

(Please do not edit this)

We are in v4-maintenance phase, so we will restrict what can be merged to prevent unexpected surprises:

What can be merged (merge criteria):
    2 approvals:
        1 developer: code is fine
        1 QA: QA is fine
    there is a PR for updating documentation (or a statement that this is not needed)

Fix the check for environment variables not set. If the variable
is not defined (nul) the check for != '' fails.

Signed-off-by: Pablo Chacin <pchacin@suse.com>
Copy link

@Klaven Klaven left a comment

Choose a reason for hiding this comment

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

/lgtm

@jodavis-suse jodavis-suse self-requested a review June 25, 2020 17:40
@jodavis-suse
Copy link
Contributor

/lgtm

@cmurphy
Copy link
Contributor

cmurphy commented Jun 25, 2020

Looks right according to https://stackoverflow.com/a/45760094 - the jenkins failures seem unrelated?

Copy link
Contributor

@jodavis-suse jodavis-suse left a comment

Choose a reason for hiding this comment

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

looks good

@pablochacin pablochacin merged commit 9cd2299 into SUSE:master Jun 25, 2020
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