mirror of https://github.com/k3s-io/k3s
Merge pull request #58 from dsymonds/patch-1
Change flag.Duration descriptions to be unit-free.pull/6/head
commit
f453de3a92
|
@ -34,9 +34,9 @@ import (
|
||||||
var (
|
var (
|
||||||
file = flag.String("config", "", "Path to the config file")
|
file = flag.String("config", "", "Path to the config file")
|
||||||
etcd_servers = flag.String("etcd_servers", "", "Url of etcd servers in the cluster")
|
etcd_servers = flag.String("etcd_servers", "", "Url of etcd servers in the cluster")
|
||||||
syncFrequency = flag.Duration("sync_frequency", 10*time.Second, "Max seconds between synchronizing running containers and config")
|
syncFrequency = flag.Duration("sync_frequency", 10*time.Second, "Max period between synchronizing running containers and config")
|
||||||
fileCheckFrequency = flag.Duration("file_check_frequency", 20*time.Second, "Seconds between checking file for new data")
|
fileCheckFrequency = flag.Duration("file_check_frequency", 20*time.Second, "Duration between checking file for new data")
|
||||||
httpCheckFrequency = flag.Duration("http_check_frequency", 20*time.Second, "Seconds between checking http for new data")
|
httpCheckFrequency = flag.Duration("http_check_frequency", 20*time.Second, "Duration between checking http for new data")
|
||||||
manifest_url = flag.String("manifest_url", "", "URL for accessing the container manifest")
|
manifest_url = flag.String("manifest_url", "", "URL for accessing the container manifest")
|
||||||
address = flag.String("address", "127.0.0.1", "The address for the info server to serve on")
|
address = flag.String("address", "127.0.0.1", "The address for the info server to serve on")
|
||||||
port = flag.Uint("port", 10250, "The port for the info server to serve on")
|
port = flag.Uint("port", 10250, "The port for the info server to serve on")
|
||||||
|
|
Loading…
Reference in New Issue