File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
src/WebJobs.Script.WebHost Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ 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 ] HostAssignmentContextMani assignmentContext )
51
+ public IActionResult Assign2 ( [ FromBody ] EncryptedHostAssignmentContext assignmentContext )
52
52
{
53
53
_logger . LogDebug ( $ "Starting container assignment for host : { Request ? . Host } ") ;
54
54
55
55
_logger . LogDebug ( $ "Worker assignment context is: { JsonConvert . SerializeObject ( assignmentContext ) } ") ;
56
56
57
- _logger . LogDebug ( $ "SiteName: { assignmentContext . SiteName } , Siteid: { assignmentContext . SiteId } ") ;
57
+ // _logger.LogDebug($"SiteName: {assignmentContext.SiteName}, Siteid: {assignmentContext.SiteId}");
58
58
59
59
return Ok ( ) ;
60
60
//return await AssignInternal(workerAssignmentContext.AssignmentContext);
Original file line number Diff line number Diff line change 1
1
// Copyright (c) .NET Foundation. All rights reserved.
2
2
// Licensed under the MIT License. See License.txt in the project root for license information.
3
3
4
- using System ;
5
- using System . Collections . Generic ;
6
- using System . Linq ;
7
- using Microsoft . Azure . WebJobs . Script . Workers . Rpc ;
8
- using Microsoft . Extensions . Logging ;
9
4
using Newtonsoft . Json ;
10
5
11
6
namespace Microsoft . Azure . WebJobs . Script . WebHost . Models
You can’t perform that action at this time.
0 commit comments