mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Convert-Bytes returns hash with former and current unit
This commit is contained in:
parent
98afce3506
commit
bd3d62ff7f
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ function Convert-Bytes()
|
|||
}
|
||||
}
|
||||
}
|
||||
return $FinalValue;
|
||||
return @{'value' = $FinalValue; 'pastunit' = $CurrentUnit; 'endunit' = $Unit};
|
||||
}
|
||||
Throw 'Invalid input';
|
||||
}
|
||||
Loading…
Reference in a new issue