Skip to content

Commit

Permalink
Final with signoff
Browse files Browse the repository at this point in the history
Signed-off-by: SudhanshuBawane <[email protected]>
  • Loading branch information
SudhanshuBawane committed Jan 25, 2024
1 parent 6fe811a commit 6a210ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion asset/boltdb_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (b *boltDBAssetManager) expandWithDuration(tmpFile *os.File, asset *corev2.
fullPath := filepath.Join(CacheDir, assetSHA)

if err := CleanUp(fullPath); err != nil { //fix for git issue 5009
fmt.Errorf("error cleaning up the SHA dir: %s", err)
logger.Println("error cleaning up the SHA dir: %s", err)
}

assetPath = filepath.Join(b.localStorage, asset.Sha512)
Expand Down
3 changes: 1 addition & 2 deletions asset/expander_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package asset

import (
v2 "github.com/sensu/core/v2"
"os"
"path/filepath"
"testing"

"github.com/sensu/sensu-go/testing/testutil"
)

var asset *v2.Asset
//var asset *v2.Asset

// sudhanshu- Git issue 5009

Expand Down

0 comments on commit 6a210ca

Please sign in to comment.