Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
SiteKey -> GetClusterReportRequest; Provide since value
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardjkim committed Jun 26, 2020
1 parent 86125bf commit 93a29fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/install/operation.go
Expand Up @@ -268,7 +268,10 @@ func (i *Installer) generateDebugReport(ctx context.Context, clusterKey ops.Site
os.Remove(f.Name())
}
}()
rc, err := i.config.Operator.GetSiteReport(ctx, clusterKey)
rc, err := i.config.Operator.GetSiteReport(ctx, ops.GetClusterReportRequest{
SiteKey: clusterKey,
Since: time.Duration(0),
})
if err != nil {
return trace.ConvertSystemError(err)
}
Expand Down
2 changes: 1 addition & 1 deletion tool/gravity/cli/config.go
Expand Up @@ -1132,7 +1132,7 @@ func InstallerGenerateLocalReport(env *localenv.LocalEnvironment) func(context.C
os.Remove(f.Name())
}
}()
err = systemReport(env, report.AllFilters, true, f)
err = systemReport(env, report.AllFilters, true, f, time.Duration(0))
if err != nil {
return trace.ConvertSystemError(err)
}
Expand Down

0 comments on commit 93a29fe

Please sign in to comment.