mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Clean this code up, just use the updated model's FQDN; references #1931
This commit is contained in:
parent
33a7762152
commit
52966ede89
@ -86,9 +86,7 @@ class NodeUpdateService
|
|||||||
// node doesn't actually care about this.
|
// node doesn't actually care about this.
|
||||||
//
|
//
|
||||||
// @see https://github.com/pterodactyl/panel/issues/1931
|
// @see https://github.com/pterodactyl/panel/issues/1931
|
||||||
if (! empty($data['fqdn'])) {
|
$node->fqdn = $updated->fqdn;
|
||||||
$node->fqdn = $data['fqdn'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->configurationRepository->setNode($node)->update($updated);
|
$this->configurationRepository->setNode($node)->update($updated);
|
||||||
} catch (DaemonConnectionException $exception) {
|
} catch (DaemonConnectionException $exception) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user