Skip to content

Commit

Permalink
dag: properly set hash option
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Apr 14, 2019
1 parent fc18de8 commit 65969a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func (s *Shell) DagPutWithOpts(data interface{}, opts ...options.DagPutOption) (
Option("input-enc", cfg.InputEnc).
Option("format", cfg.Kind).
Option("pin", cfg.Pin).
Option("hash", cfg.Hash).
Body(fileReader).
Exec(context.Background(), &out)
}

0 comments on commit 65969a0

Please sign in to comment.