diff options
Diffstat (limited to 'pkg/coveragedb/coveragedb.go')
| -rw-r--r-- | pkg/coveragedb/coveragedb.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/coveragedb/coveragedb.go b/pkg/coveragedb/coveragedb.go index 8272ce6ff..7ae10047b 100644 --- a/pkg/coveragedb/coveragedb.go +++ b/pkg/coveragedb/coveragedb.go @@ -149,7 +149,7 @@ from merge_history on merge_history.session = files.session where namespace=$1 and dateto=$2 and duration=$3 and filepath=$4 and commit=$5 and manager=$6`, - Params: map[string]interface{}{ + Params: map[string]any{ "p1": ns, "p2": timePeriod.DateTo, "p3": timePeriod.Days, @@ -267,7 +267,7 @@ func NsDataMerged(ctx context.Context, client spannerclient.SpannerClient, ns st from merge_history where namespace=$1`, - Params: map[string]interface{}{ + Params: map[string]any{ "p1": ns, }, } @@ -485,7 +485,7 @@ from merge_history on merge_history.namespace = file_subsystems.namespace and files.filepath = file_subsystems.filepath where merge_history.namespace=$1 and dateto=$2 and duration=$3 and manager=$4`, - Params: map[string]interface{}{ + Params: map[string]any{ "p1": scope.Ns, "p2": scope.Periods[0].DateTo, "p3": scope.Periods[0].Days, @@ -647,7 +647,7 @@ func RegenerateSubsystems(ctx context.Context, ns string, sss []*subsystem.Subsy func getFilePaths(ctx context.Context, ns string, client spannerclient.SpannerClient) ([]string, error) { iter := client.Single().Query(ctx, spanner.Statement{ SQL: `select filepath from file_subsystems where namespace=$1`, - Params: map[string]interface{}{ + Params: map[string]any{ "p1": ns, }, }) |
