Skip to content

Commit 89ff816

Browse files
committed
Fix freshness, no . or ..
1 parent ec09fdb commit 89ff816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/elastic-etcd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func Run(args []string) (*EtcdConfig, string, error) {
235235
return
236236
}
237237
glog.V(6).Infof("Found the following files in %s: %v", dataDir, fs)
238-
fresh = len(fs) <= 2
238+
fresh = len(fs) == 0
239239
}
240240

241241
jr, err := join.Join(

0 commit comments

Comments
 (0)