Skip to content

Commit

Permalink
Fix hosting rewrite deployment bug for skipped functions (#6658)
Browse files Browse the repository at this point in the history
* copy the service ID

* changelog
  • Loading branch information
colerogers committed Mar 15, 2024
1 parent 82fe0e1 commit 9297af8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix hosting rewrite deployment bug for skipped functions (#6658).
3 changes: 3 additions & 0 deletions src/deploy/functions/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,9 @@ export function inferDetailsFromExisting(
continue;
}

// Copy the service id over to the new endpoint.
wantE.runServiceId = haveE.runServiceId;

// By default, preserve existing environment variables.
// Only overwrite environment variables when there are user specified environment variables.
if (!usedDotenv) {
Expand Down

0 comments on commit 9297af8

Please sign in to comment.