mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	Fix nightly tests and debug (#14970)
* adding env var * add fixes * fixing debug * removing umask from tests
This commit is contained in:
		| @@ -12,13 +12,13 @@ import ( | ||||
| 	"strconv" | ||||
| 	"strings" | ||||
| 	"sync" | ||||
| 	"syscall" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/hashicorp/go-hclog" | ||||
| 	"github.com/hashicorp/go-secure-stdlib/gatedwriter" | ||||
| 	"github.com/hashicorp/go-secure-stdlib/strutil" | ||||
| 	"github.com/hashicorp/vault/api" | ||||
| 	"github.com/hashicorp/vault/helper/osutil" | ||||
| 	"github.com/hashicorp/vault/sdk/helper/jsonutil" | ||||
| 	"github.com/hashicorp/vault/sdk/helper/logging" | ||||
| 	"github.com/hashicorp/vault/sdk/version" | ||||
| @@ -963,7 +963,7 @@ func (c *DebugCommand) persistCollection(collection []map[string]interface{}, ou | ||||
|  | ||||
| func (c *DebugCommand) compress(dst string) error { | ||||
| 	if runtime.GOOS != "windows" { | ||||
| 		defer syscall.Umask(syscall.Umask(0o077)) | ||||
| 		defer osutil.Umask(osutil.Umask(0o077)) | ||||
| 	} | ||||
|  | ||||
| 	tgz := archiver.NewTarGz() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 akshya96
					akshya96