Merge pull request #1282 from coollabsio/next

fix: volume names
This commit is contained in:
Andras Bacsai 2023-10-03 13:26:02 +02:00 committed by GitHub
commit c8b974820b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

View File

@ -328,7 +328,9 @@ class Service extends BaseModel
} 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 @@ class Service extends BaseModel
'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 @@ return [
// 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"
}
}
}