Skip to content

Commit 0a20c6b

Browse files
committed
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop
2 parents e969344 + b16d152 commit 0a20c6b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/Services/Nodes/NodeCreationService.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Pterodactyl\Services\Nodes;
44

5+
use Ramsey\Uuid\Uuid;
56
use Illuminate\Support\Str;
67
use Pterodactyl\Models\Node;
78
use Illuminate\Encryption\Encrypter;
@@ -41,6 +42,7 @@ public function __construct(Encrypter $encrypter, NodeRepositoryInterface $repos
4142
*/
4243
public function handle(array $data)
4344
{
45+
$data['uuid'] = Uuid::uuid4()->toString();
4446
$data['daemon_token'] = $this->encrypter->encrypt(Str::random(Node::DAEMON_TOKEN_LENGTH));
4547
$data['daemon_token_id'] = Str::random(Node::DAEMON_TOKEN_ID_LENGTH);
4648

resources/scripts/components/server/ServerConsole.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default () => {
110110
className={'mr-1'}
111111
/>
112112
 {bytesToHuman(memory)}
113-
<span className={'text-neutral-500'}>/ {server.limits.memory} MB</span>
113+
<span className={'text-neutral-500'}> / {server.limits.memory} MB</span>
114114
</p>
115115
<p className={'text-xs mt-2'}>
116116
<FontAwesomeIcon
@@ -119,7 +119,7 @@ export default () => {
119119
className={'mr-1'}
120120
/>
121121
&nbsp;{bytesToHuman(disk)}
122-
<span className={'text-neutral-500'}>/ {server.limits.disk} MB</span>
122+
<span className={'text-neutral-500'}> / {server.limits.disk} MB</span>
123123
</p>
124124
</TitledGreyBox>
125125
<Can action={[ 'control.start', 'control.stop', 'control.restart' ]} matchAny={true}>

0 commit comments

Comments
 (0)