Andrey Smirnov
ec641f7296
fix: use default time servers in time API if none are configured
This fixes simple bug:
```
$ talosctl -n 172.20.0.2 time
error fetching time: 1 error occurred:
* 172.20.0.2: rpc error: code = Unknown desc = no time servers configured
```
After the change:
```
$ talosctl -n 172.20.0.2 time
NODE NTP-SERVER NODE-TIME NTP-SERVER-TIME
172.20.0.2 pool.ntp.org 2021-12-10 14:25:38.871656717 +0000 UTC 2021-12-10 14:25:38.92119139 +0000 UTC
```
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-10 17:39:36 +03:00
..
2021-09-13 22:33:47 +03:00
2021-11-23 16:45:16 +03:00
2021-11-15 15:43:34 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-11-10 20:10:40 +03:00
2021-11-15 14:55:25 +00:00
2021-11-15 14:55:25 +00:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2021-11-15 15:43:34 +03:00
2021-09-13 22:33:47 +03:00
2021-12-03 18:50:21 +03:00
2021-12-10 17:39:36 +03:00
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00