Skip to content

Commit 00be931

Browse files
Update logs to ensure each cmdlet uses Win32registry
1 parent e321aab commit 00be931

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/StorageSync/StorageSync/Common/StorageSyncClientCmdletBase.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ public IStorageSyncClientWrapper StorageSyncClientWrapper
121121
/// </summary>
122122
public override void ExecuteCmdlet()
123123
{
124+
// TODO Remove debug logs
125+
this.WriteDebugWithTimestamp(StorageSyncClientWrapper.AfsAgentInstallerPath);
126+
this.WriteDebugWithTimestamp(StorageSyncClientWrapper.AfsAgentVersion);
127+
124128
StartTime = DateTime.Now;
125129
base.ExecuteCmdlet();
126130
}

src/StorageSync/StorageSync/Common/StorageSyncResourceManager.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ public void WaitForAccessPropogation()
102102
System.Threading.Thread.Sleep(40 * 1000);
103103
}
104104

105+
/// <summary>
106+
/// Gets the tenant identifier.
107+
/// </summary>
108+
/// <returns>System.String.</returns>
105109
public string GetTenantId() => null;
106110
}
107111
}

0 commit comments

Comments
 (0)