mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-22 07:39:52 -05:00
Convert-Bytes returns hash with former and current unit
This commit is contained in:
parent
c579180521
commit
cee8ef178a
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