Skip to content

Don't fail if no Docker containers running#3074

Merged
csantanapr merged 1 commit intoapache:masterfrom
sven-lange-last:robust-ifstate-cleaning
Dec 8, 2017
Merged

Don't fail if no Docker containers running#3074
csantanapr merged 1 commit intoapache:masterfrom
sven-lange-last:robust-ifstate-cleaning

Conversation

@sven-lange-last
Copy link
Copy Markdown
Member

The initial version failed if no Docker containers were running because an invalid regular expression was constructed for find command.

With this change, the regular expression for filtering active virtual ethernet interfaces is only included active interfaces can be found. If Docker containers are running, there are always active interfaces. If no Docker containers are running, there may be no actives interfaces.

Also see #3007 for a discussion and test results.

The initial version failed if no Docker containers were running because an invalid regular expression was constructed for `find` command.

With this change, the regular expression for filtering active virtual ethernet interfaces is only included active interfaces can be found. If Docker containers are running, there are always active interfaces. If no Docker containers are running, there may be no actives interfaces.
@csantanapr csantanapr merged commit 3d92ec2 into apache:master Dec 8, 2017
@sven-lange-last sven-lange-last deleted the robust-ifstate-cleaning branch December 8, 2017 06:52
BillZong pushed a commit to BillZong/openwhisk that referenced this pull request Nov 18, 2019
The initial version failed if no Docker containers were running because an invalid regular expression was constructed for `find` command.

With this change, the regular expression for filtering active virtual ethernet interfaces is only included active interfaces can be found. If Docker containers are running, there are always active interfaces. If no Docker containers are running, there may be no actives interfaces.
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