Skip to content

Commit 65969a0

Browse files
author
Alex
committed
dag: properly set hash option
1 parent fc18de8 commit 65969a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dag.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func (s *Shell) DagPutWithOpts(data interface{}, opts ...options.DagPutOption) (
5252
Option("input-enc", cfg.InputEnc).
5353
Option("format", cfg.Kind).
5454
Option("pin", cfg.Pin).
55+
Option("hash", cfg.Hash).
5556
Body(fileReader).
5657
Exec(context.Background(), &out)
5758
}

0 commit comments

Comments
 (0)