Fix execution of TimerProxy (#2133)

* Fix execution of timerProxy
- fixed behavior of Container.SaveBlob (file was not being overwritten)
- added support for default value in the entity converter
- fix scaleset size data type
- added initialization of Subnet
- renamed TestHook Info to _Info to prevent clashing of name function mame
- added target framework to ApiServiceProject to help local debugging

* fix unit tests

* fix unit tests

* remove unused property

* fix typo

* removing partial class TimerProxy
This commit is contained in:
Cheick Keita
2022-07-07 09:25:51 -07:00
committed by GitHub
parent 0f0fd8ee9c
commit aa2e76e7e9
11 changed files with 118 additions and 68 deletions

View File

@ -145,7 +145,7 @@ public class Containers : IContainers {
public async Async.Task SaveBlob(Container container, string name, string data, StorageType storageType) {
var client = await FindContainer(container, storageType) ?? throw new Exception($"unable to find container: {container.ContainerName} - {storageType}");
await client.UploadBlobAsync(name, new BinaryData(data));
await client.GetBlobClient(name).UploadAsync(new BinaryData(data), overwrite: true);
}
public Async.Task<Guid> GetInstanceId() => _getInstanceId.Value;