connect tailscale node status through platform gateway
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -107,6 +107,7 @@ export class TailscaleService {
|
|||||||
policy,
|
policy,
|
||||||
source: 'platform-gateway',
|
source: 'platform-gateway',
|
||||||
fetchedAt: new Date().toISOString(),
|
fetchedAt: new Date().toISOString(),
|
||||||
|
...(isRecord(body) && typeof body.error === 'string' ? { error: body.error } : {}),
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user