Skip to content

Commit

Permalink
fix: prevent rclone from trying to refresh oauth2 tokens (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius authored Sep 18, 2024
1 parent c359177 commit 022c0d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/rclone/rclone.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func (r *Rclone) Mount(ctx context.Context, rcloneVolume *RcloneVolume, targetPa
}
params[key] = sec.Key(key).String()
}
params["config_refresh_token"] = "false"
configOpts := ConfigCreateRequest{
Name: configName,
StorageType: sec.Key("type").String(),
Expand Down Expand Up @@ -356,7 +357,7 @@ func (r *Rclone) start_daemon() error {
}

func (r *Rclone) Run() error {
err := r.start_daemon()
err := r.start_daemon()
if err != nil {
return err
}
Expand Down

0 comments on commit 022c0d7

Please sign in to comment.