Skip to content

Commit eb34958

Browse files
committed
fix: SetConfig called twice
1 parent fc21e18 commit eb34958

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

examples/s3.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ func main() {
2828
return
2929
}
3030

31-
err = s.SetConfig(config)
32-
if err != nil {
33-
fmt.Printf("ERROR: %s", err)
34-
return
35-
}
36-
3731
err = s.Start()
3832
defer s.Close()
3933
for {

0 commit comments

Comments
 (0)