File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/WebJobs.Script.WebHost/Controllers Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -48,18 +48,11 @@ public async Task<IActionResult> Assign([FromBody] EncryptedHostAssignmentContex
48
48
[ HttpPost ]
49
49
[ Route ( "admin/instance/assign2" ) ]
50
50
[ Authorize ( Policy = PolicyNames . AdminAuthLevel ) ]
51
- public IActionResult Assign2 ( [ FromBody ] FunctionsWorkerContainerAssignmentContext assignmentContext )
51
+ public async Task < IActionResult > Assign2 ( [ FromBody ] FunctionsWorkerContainerAssignmentContext workerAssignmentContext )
52
52
{
53
53
_logger . LogDebug ( $ "Starting container assignment for host : { Request ? . Host } ") ;
54
54
55
- _logger . LogDebug ( $ "Worker assignment context is: { JsonConvert . SerializeObject ( assignmentContext ) } ") ;
56
-
57
- //_logger.LogDebug($"SiteName: {assignmentContext.SiteName}");
58
-
59
- //_logger.LogDebug($"SiteName: {assignmentContext.SiteName}, Siteid: {assignmentContext.SiteId}");
60
-
61
- return Ok ( ) ;
62
- //return await AssignInternal(workerAssignmentContext.AssignmentContext);
55
+ return await AssignInternal ( workerAssignmentContext . AssignmentContext ) ;
63
56
}
64
57
65
58
[ HttpGet ]
You can’t perform that action at this time.
0 commit comments