Skip to content

Commit c647dfa

Browse files
author
Manikanta Nallagatla
committed
debug
1 parent 4736dbf commit c647dfa

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/WebJobs.Script.WebHost/Controllers/InstanceController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ public async Task<IActionResult> Assign([FromBody] EncryptedHostAssignmentContex
4848
[HttpPost]
4949
[Route("admin/instance/assign2")]
5050
[Authorize(Policy = PolicyNames.AdminAuthLevel)]
51-
public IActionResult Assign2([FromBody] HostAssignmentContextMani assignmentContext)
51+
public IActionResult Assign2([FromBody] EncryptedHostAssignmentContext assignmentContext)
5252
{
5353
_logger.LogDebug($"Starting container assignment for host : {Request?.Host}");
5454

5555
_logger.LogDebug($"Worker assignment context is: {JsonConvert.SerializeObject(assignmentContext)}");
5656

57-
_logger.LogDebug($"SiteName: {assignmentContext.SiteName}, Siteid: {assignmentContext.SiteId}");
57+
//_logger.LogDebug($"SiteName: {assignmentContext.SiteName}, Siteid: {assignmentContext.SiteId}");
5858

5959
return Ok();
6060
//return await AssignInternal(workerAssignmentContext.AssignmentContext);

src/WebJobs.Script.WebHost/Models/HostAssignmentContextMani.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the MIT License. See License.txt in the project root for license information.
33

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;
94
using Newtonsoft.Json;
105

116
namespace Microsoft.Azure.WebJobs.Script.WebHost.Models

0 commit comments

Comments
 (0)