Add log gathering to debug command. (#10609)

This commit is contained in:
Nick Cabatoff
2020-12-22 15:15:24 -05:00
committed by GitHub
parent f4db2dddf4
commit e2620b9943
3 changed files with 41 additions and 2 deletions

View File

@@ -685,6 +685,7 @@ func TestDebugCommand_PartialPermissions(t *testing.T) {
case fh.Name == filepath.Join(basePath, "index.json"):
case fh.Name == filepath.Join(basePath, "replication_status.json"):
case fh.Name == filepath.Join(basePath, "server_status.json"):
case fh.Name == filepath.Join(basePath, "vault.log"):
default:
return fmt.Errorf("unexpected file: %s", fh.Name)
}