mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 01:21:14 +00:00
fix: Make launchInstall return correct object for volume
This commit is contained in:
parent
854febc5d2
commit
b242838339
|
@ -521,7 +521,13 @@ class HetznerServerProvider extends ServerProvider {
|
||||||
id: serverResult.data['server']['id'],
|
id: serverResult.data['server']['id'],
|
||||||
ip4: serverResult.data['server']['public_net']['ipv4']['ip'],
|
ip4: serverResult.data['server']['public_net']['ipv4']['ip'],
|
||||||
createTime: DateTime.now(),
|
createTime: DateTime.now(),
|
||||||
volume: volume,
|
volume: ServerVolume(
|
||||||
|
id: volume['id'],
|
||||||
|
name: volume['name'],
|
||||||
|
sizeByte: volume['size'],
|
||||||
|
serverId: volume['server'],
|
||||||
|
linuxDevice: volume['linux_device'],
|
||||||
|
),
|
||||||
apiToken: serverApiToken,
|
apiToken: serverApiToken,
|
||||||
provider: ServerProviderType.hetzner,
|
provider: ServerProviderType.hetzner,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue