mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Convert-Bytes returns hash with former and current unit
This commit is contained in:
parent
867df9f37e
commit
beb2843a9b
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';
|
Throw 'Invalid input';
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue