From 9ebcb2f576c9fe89822723fe95b5cbaf32faf528 Mon Sep 17 00:00:00 2001 From: James Mintram Date: Thu, 22 Oct 2015 16:25:52 +0100 Subject: [PATCH] Noticed a couple ot typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e06e32..a6d7728 100644 --- a/README.md +++ b/README.md @@ -275,12 +275,12 @@ err := runtime_viper.ReadRemoteConfig() // unmarshal config runtime_viper.Unmarshal(&runtime_conf) -// open a goroutine to wath remote changes forever +// open a goroutine to watch remote changes forever go func(){ for { time.Sleep(time.Second * 5) // delay after each request - // currenlty, only tested with etcd support + // currently, only tested with etcd support err := runtime_viper.WatchRemoteConfig() if err != nil { log.Errorf("unable to read remote config: %v", err)