mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-13 10:38:08 +00:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user