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