Skip to content

Commit

Permalink
Fix freshness, no . or ..
Browse files Browse the repository at this point in the history
  • Loading branch information
sttts committed Feb 21, 2016
1 parent ec09fdb commit 89ff816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/elastic-etcd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func Run(args []string) (*EtcdConfig, string, error) {
return
}
glog.V(6).Infof("Found the following files in %s: %v", dataDir, fs)
fresh = len(fs) <= 2
fresh = len(fs) == 0
}

jr, err := join.Join(
Expand Down

0 comments on commit 89ff816

Please sign in to comment.