Skip to content

Commit 255b7e5

Browse files
authored
[pack] Setting force refresh to false for create update functions call (#10668)
* setting force refresh to false for create update call * updating release notes
1 parent ce931ee commit 255b7e5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

release_notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
- My change description (#PR)
55
-->
66

7+
- Setting force refersh to false for CreateOrUpdate call (#10668)

src/WebJobs.Script.WebHost/Management/WebFunctionsManager.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ await functionMetadata
147147
// we need to sync triggers if config changed, or the files changed
148148
await _functionsSyncManager.TrySyncTriggersAsync();
149149

150-
(var success, var functionMetadataResult) = await TryGetFunction(name, request, configChanged);
150+
// Setting force refresh to false as host restart causes a refersh already
151+
(var success, var functionMetadataResult) = await TryGetFunction(name, request, false);
151152

152153
return (success, configChanged, functionMetadataResult);
153154
}

0 commit comments

Comments
 (0)