Skip to content

Commit 1960ebc

Browse files
authored
Pass 'bridge' parameter down into relevant function when calling 'up' (#69)
* Pass 'bridge' parameter down into relevant function when calling 'up' * Bump version and update changelog * Run black
1 parent e301c95 commit 1960ebc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and **Merged pull requests**. Critical items to know are:
1414
The versions coincide with releases on pypi.
1515

1616
## [0.1.x](https://github.com/singularityhub/singularity-compose/tree/master) (0.1.x)
17+
- fix 'bridge' option for 'up' command (0.1.18)
1718
- add support for instance replicas (0.1.17)
1819
- fix check command validation (0.1.16)
1920
- fix a bug triggered when using startoptions in conjunction with network=false (0.1.15)

scompose/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
88
99
"""
10+
1011
from .version import __version__

scompose/project/project.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ def down(self, names=None, timeout=None):
453453
def create(
454454
self, names=None, writable_tmpfs=True, bridge="10.22.0.0/16", no_resolv=False
455455
):
456-
457456
"""
458457
Call the create function, which defaults to the command instance.create()
459458
"""
@@ -466,7 +465,6 @@ def up(
466465
bridge="10.22.0.0/16",
467466
no_resolv=False,
468467
):
469-
470468
"""
471469
Call the up function, instance.up().
472470
@@ -476,6 +474,7 @@ def up(
476474
names,
477475
command="up",
478476
writable_tmpfs=writable_tmpfs,
477+
bridge=bridge,
479478
no_resolv=no_resolv,
480479
)
481480

@@ -487,7 +486,6 @@ def _create(
487486
bridge="10.22.0.0/16",
488487
no_resolv=False,
489488
):
490-
491489
"""
492490
Create one or more instances.
493491

scompose/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
"""
1010

11-
__version__ = "0.1.17"
11+
__version__ = "0.1.18"
1212
AUTHOR = "Vanessa Sochat"
1313
AUTHOR_EMAIL = "[email protected]"
1414
NAME = "singularity-compose"

0 commit comments

Comments
 (0)