You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the 1.18.2 version is used, an error is reported when the consul --version and consul -h commands are executed after the installation. The error information is as follows:
[root@localhost -]#consul -h
Fatal error with internal time set; check makefile for build date 0001-01-01 00:00:00 +0000 UTC parsing time "" as "2006-01-02T15:04:05Z07:00": cannot parse "" as "2006"
Usage: consul [--version] [--help] []
Available commands are:
acl Interact with Consul's ACLs
agent Runs a Consul agent
catalog Interact with the catalog
Config Interact with Consul's Centralized Configurations
connect Interact with Consul Connect
[root@localhost -]#consul --version
parsing time "" as "2006-01-02T15:04:05Z07:00": cannot parse "" as "2006"
The text was updated successfully, but these errors were encountered:
This will happen if source code is downloaded and consul binary is built from it without cloning git repo, as the git commit hash is not available in this case, the builddate would be empty and hence version info is not available.
When the 1.18.2 version is used, an error is reported when the consul --version and consul -h commands are executed after the installation. The error information is as follows:
[root@localhost -]#consul -h
Fatal error with internal time set; check makefile for build date 0001-01-01 00:00:00 +0000 UTC parsing time "" as "2006-01-02T15:04:05Z07:00": cannot parse "" as "2006"
Usage: consul [--version] [--help] []
Available commands are:
acl Interact with Consul's ACLs
agent Runs a Consul agent
catalog Interact with the catalog
Config Interact with Consul's Centralized Configurations
connect Interact with Consul Connect
[root@localhost -]#consul --version
parsing time "" as "2006-01-02T15:04:05Z07:00": cannot parse "" as "2006"
The text was updated successfully, but these errors were encountered: