mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
1 parent
2948987d84
commit
e60f642d81
2 files changed
+3
-2
No files matched your search
@@ -40,7 +40,9 @@ func adoptedEpochOf(vol, line string) (uint64, error) {
|
||||
|
||||
// sealedGen reads G from a plain detach: one JSON object on stdout and
|
||||
// exactly the sealed-generation line on stderr.
|
||||
func sealedGen(stdout, stderr string, e uint64) (uint64, error) { return sealedGenOf(stdout, stderr, "v1", e) }
|
||||
func sealedGen(stdout, stderr string, e uint64) (uint64, error) {
|
||||
return sealedGenOf(stdout, stderr, "v1", e)
|
||||
}
|
||||
|
||||
// sealedGenOf reads G from a plain detach of volume vol at epoch e.
|
||||
func sealedGenOf(stdout, stderr, vol string, e uint64) (uint64, error) {
|
||||
|
||||
@@ -450,7 +450,6 @@ func (env *handoffEnv) requireHeadHolder(t *testing.T, e uint64, host string) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func (env *handoffEnv) start(t *testing.T, name, id string) *daemon {
|
||||
t.Helper()
|
||||
return env.h.start(t, name, env.h.volume, env.volArgs(id)...)
|
||||
|
||||
Reference in new issue
Block a user