Skip to content

Commit 961bb69

Browse files
authored
Merge pull request #5847 from opsmill/pog-set-main-if-branch-not-set
Set branch to "main" if not set
2 parents b362ae1 + 81a99dc commit 961bb69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

models/infrastructure_edge.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,6 +2095,8 @@ async def run(
20952095
# Create timer to keep track of time elapsed
20962096
start: float = time.time()
20972097

2098+
branch = branch or "main"
2099+
20982100
# ------------------------------------------
20992101
# Config
21002102
# ------------------------------------------

0 commit comments

Comments
 (0)