Skip to content

Commit

Permalink
Fix appprovider documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Sep 15, 2020
1 parent 3815ad3 commit f4c4dea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ description: >
# _struct: config_

{{% dir name="iopsecret" type="string" default="" %}}
The iopsecret used to connect to the wopiserver. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/appprovider/appprovider.go#L59)
The iopsecret used to connect to the wopiserver. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/appprovider/appprovider.go#L60)
{{< highlight toml >}}
[grpc.services.appprovider]
iopsecret = ""
{{< /highlight >}}
{{% /dir %}}

{{% dir name="wopiurl" type="string" default="" %}}
The wopiserver's URL. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/appprovider/appprovider.go#L60)
The wopiserver's URL. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/appprovider/appprovider.go#L61)
{{< highlight toml >}}
[grpc.services.appprovider]
wopiurl = ""
Expand Down
2 changes: 1 addition & 1 deletion pkg/metrics/driver/dummy/dummy.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ func (d *MetricsDummyDriver) GetNumGroups() int64 {

// GetAmountStorage returns the amount of site storage used; it's a random amount
func (d *MetricsDummyDriver) GetAmountStorage() int64 {
return int64(rand.Intn(70000000000))
return rand.Int63n(70000000000)
}

0 comments on commit f4c4dea

Please sign in to comment.