From 085762ec174eae1c519ec14db632f5ba197ed3c7 Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 17 Dec 2024 18:39:18 +0000 Subject: hopefully implement push! again i can't really test this yet because i don't have two https instances that can talk to each other. soon i will set that up and test all these recent commits --- Digitigrade/Job/UpdateInstanceInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Digitigrade/Job/UpdateInstanceInfo.php') diff --git a/Digitigrade/Job/UpdateInstanceInfo.php b/Digitigrade/Job/UpdateInstanceInfo.php index abcd182..4206aac 100644 --- a/Digitigrade/Job/UpdateInstanceInfo.php +++ b/Digitigrade/Job/UpdateInstanceInfo.php @@ -16,7 +16,7 @@ class UpdateInstanceInfo extends Job { public function run() { Logger::getInstance()->info("updating info for instance $this->domain"); - if (Instance::findByDomain($this->domain, forceRefetch: true) == null) { + if (Instance::findByHostname($this->domain, forceRefetch: true) == null) { throw new \RuntimeException("remote object doesn't seem to exist"); } } -- cgit v1.3