Skip to content

Commit

Permalink
Remove ndt7 datatype directory decorations (#264)
Browse files Browse the repository at this point in the history
This change fixes #263
  • Loading branch information
stephen-soltesz authored Feb 13, 2020
1 parent 28dd0c9 commit 607a9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndt7/results/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type File struct {
// directory on success and returns an error on failure.
func newFile(datadir, what, uuid string) (*File, error) {
timestamp := time.Now().UTC()
dir := path.Join(datadir, "ndt7"+what, timestamp.Format("2006/01/02"))
dir := path.Join(datadir, "ndt7", timestamp.Format("2006/01/02"))
err := os.MkdirAll(dir, 0755)
if err != nil {
return nil, err
Expand Down

0 comments on commit 607a9ce

Please sign in to comment.