aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/postgres/path.go')
-rw-r--r--internal/postgres/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/path.go b/internal/postgres/path.go
index cf106cad..9b2edf3b 100644
--- a/internal/postgres/path.go
+++ b/internal/postgres/path.go
@@ -135,7 +135,7 @@ func upsertPaths(ctx context.Context, db *database.DB, paths []string) (pathToID
}
// Insert any unit paths that we don't already have.
- var values []interface{}
+ var values []any
for _, v := range paths {
if _, ok := pathToID[v]; !ok {
values = append(values, v)