fix: volume names

This commit is contained in:
Andras Bacsai 2023-10-03 13:25:41 +02:00
parent bd856f7f67
commit 527373e297
4 changed files with 7 additions and 5 deletions

View File

@ -328,7 +328,9 @@ public function parse(bool $isNew = false): Collection
} else if (is_array($volume)) {
data_set($volume, 'source', $name);
}
$topLevelVolumes->put($name, null);
$topLevelVolumes->put($name, [
'name' => $name,
]);
LocalPersistentVolume::updateOrCreate(
[
'mount_path' => $target,
@ -336,7 +338,7 @@ public function parse(bool $isNew = false): Collection
'resource_type' => get_class($savedService)
],
[
'name' => $slugWithoutUuid,
'name' => $name,
'mount_path' => $target,
'resource_id' => $savedService->id,
'resource_type' => get_class($savedService)

View File

@ -7,7 +7,7 @@
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.61',
'release' => '4.0.0-beta.62',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php
return '4.0.0-beta.61';
return '4.0.0-beta.62';

View File

@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
"version": "4.0.0-beta.61"
"version": "4.0.0-beta.62"
}
}
}