Add make file commands for kind

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
m.nabokikh
2021-05-12 20:13:32 +04:00
parent 5a48d8a82d
commit bc5371e730
3 changed files with 16 additions and 18 deletions

View File

@@ -36,6 +36,7 @@ type StorageTestSuite struct {
}
func (s *StorageTestSuite) expandDir(dir string) string {
dir = strings.Trim(dir, `"`)
if strings.HasPrefix(dir, "~/") {
homedir, err := os.UserHomeDir()
s.Require().NoError(err)