mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 14:24:46 +02:00
Merge branch 'main' of github.com:pelican-dev/panel
This commit is contained in:
commit
a9b755ae2d
@ -97,7 +97,7 @@ class BackupManager
|
|||||||
/**
|
/**
|
||||||
* Creates a new daemon adapter.
|
* Creates a new daemon adapter.
|
||||||
*/
|
*/
|
||||||
public function createDaemonAdapter(array $config): FilesystemAdapter
|
public function createWingsAdapter(array $config): FilesystemAdapter
|
||||||
{
|
{
|
||||||
return new InMemoryFilesystemAdapter();
|
return new InMemoryFilesystemAdapter();
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,7 @@ class ListNodes extends ListRecords
|
|||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->searchable(false)
|
->searchable(false)
|
||||||
|
->checkIfRecordIsSelectableUsing(fn (Node $node) => $node->servers_count <= 0)
|
||||||
->columns([
|
->columns([
|
||||||
Tables\Columns\TextColumn::make('uuid')
|
Tables\Columns\TextColumn::make('uuid')
|
||||||
->label('UUID')
|
->label('UUID')
|
||||||
|
@ -31,7 +31,7 @@ class Backup extends Model
|
|||||||
|
|
||||||
public const RESOURCE_NAME = 'backup';
|
public const RESOURCE_NAME = 'backup';
|
||||||
|
|
||||||
public const ADAPTER_DAEMON = 'daemon';
|
public const ADAPTER_DAEMON = 'wings';
|
||||||
public const ADAPTER_AWS_S3 = 's3';
|
public const ADAPTER_AWS_S3 = 's3';
|
||||||
|
|
||||||
protected $table = 'backups';
|
protected $table = 'backups';
|
||||||
|
@ -34,7 +34,7 @@ return [
|
|||||||
'disks' => [
|
'disks' => [
|
||||||
// There is no configuration for the local disk for Daemon. That configuration
|
// There is no configuration for the local disk for Daemon. That configuration
|
||||||
// is determined by the Daemon configuration, and not the Panel.
|
// is determined by the Daemon configuration, and not the Panel.
|
||||||
'daemon' => [
|
'wings' => [
|
||||||
'adapter' => Backup::ADAPTER_DAEMON,
|
'adapter' => Backup::ADAPTER_DAEMON,
|
||||||
],
|
],
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user