Skip to content

Commit

Permalink
Pass API arguments properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul M Fox committed Jan 1, 2016
1 parent 4a63eaa commit 62243ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ func Assert() (valid bool, errors []string) {

// Add zero or more datasources to the global graph
func AddDatasource(ds ...interface{}) error {
return graph.AddDatasource(ds)
return graph.AddDatasource(ds...)
}

0 comments on commit 62243ec

Please sign in to comment.