summaryrefslogtreecommitdiffhomepage
path: root/cmd/gitops-pusher
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2025-07-14 14:41:16 -0700
committerJoe Tsai <joetsai@digital-static.net>2025-07-14 14:45:45 -0700
commit6248c1ceca7aa6ed669dac1c6e320a3c21610389 (patch)
tree45b53344b6c88d618310afee4cc85d73f5dde01d /cmd/gitops-pusher
parentfc5050048ee9c71dcdeb232d3a38f068072f489f (diff)
downloadtailscale-dsnet/jsonv1in2.tar.xz
tailscale-dsnet/jsonv1in2.zip
all: use "github.com/go-json-experiment/json/v1" over "encoding/json"dsnet/jsonv1in2
DO NOT SUBMIT: experiment to check how much breaks. Signed-off-by: Joe Tsai <joetsai@digital-static.net>
Diffstat (limited to 'cmd/gitops-pusher')
-rw-r--r--cmd/gitops-pusher/cache.go2
-rw-r--r--cmd/gitops-pusher/gitops-pusher.go2
-rw-r--r--cmd/gitops-pusher/gitops-pusher_test.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/cmd/gitops-pusher/cache.go b/cmd/gitops-pusher/cache.go
index 6792e5e63..9aaaa3813 100644
--- a/cmd/gitops-pusher/cache.go
+++ b/cmd/gitops-pusher/cache.go
@@ -4,7 +4,7 @@
package main
import (
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"os"
)
diff --git a/cmd/gitops-pusher/gitops-pusher.go b/cmd/gitops-pusher/gitops-pusher.go
index 690ca2870..71b7f30af 100644
--- a/cmd/gitops-pusher/gitops-pusher.go
+++ b/cmd/gitops-pusher/gitops-pusher.go
@@ -10,7 +10,7 @@ import (
"bytes"
"context"
"crypto/sha256"
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"flag"
"fmt"
"io"
diff --git a/cmd/gitops-pusher/gitops-pusher_test.go b/cmd/gitops-pusher/gitops-pusher_test.go
index e08b06c9c..210e1de02 100644
--- a/cmd/gitops-pusher/gitops-pusher_test.go
+++ b/cmd/gitops-pusher/gitops-pusher_test.go
@@ -4,7 +4,7 @@
package main
import (
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"strings"
"testing"