diff --git a/cmd/sncli/checklist.go b/cmd/sncli/checklist.go index ce8b51c..4522dea 100644 --- a/cmd/sncli/checklist.go +++ b/cmd/sncli/checklist.go @@ -32,9 +32,6 @@ func cmdChecklist() *cli.Command { } var sess cache.Session sess, _, err = cache.GetSession(opts.useSession, opts.sessKey, opts.server, opts.debug) - if !sess.SchemaValidation { - panic("schema validation is false") - } if err != nil { return err } diff --git a/go.sum b/go.sum index 9f29211..1d6c384 100644 --- a/go.sum +++ b/go.sum @@ -56,8 +56,6 @@ github.com/hashicorp/go-retryablehttp v0.7.5 h1:bJj+Pj19UZMIweq/iie+1u5YCdGrnxCT github.com/hashicorp/go-retryablehttp v0.7.5/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/jonhadfield/gosn-v2 v0.0.0-20231220090451-c5c78c5c6cf0 h1:kInkleKWgmbM49ULHTWYOH0su7cIHxDTTqh+hKItyrY= -github.com/jonhadfield/gosn-v2 v0.0.0-20231220090451-c5c78c5c6cf0/go.mod h1:zaqVJQbjrhGWX0/UWY+Fp9oOJVBe7J/0DJmNmiuifs4= github.com/jonhadfield/gosn-v2 v0.0.0-20231220100241-fba7cf1f2185 h1:SZwVxLP1oIumWkpQOF4dpAi2sk5c6iw5efoYEC2akUA= github.com/jonhadfield/gosn-v2 v0.0.0-20231220100241-fba7cf1f2185/go.mod h1:zaqVJQbjrhGWX0/UWY+Fp9oOJVBe7J/0DJmNmiuifs4= github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= @@ -119,8 +117,6 @@ github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.18.1 h1:rmuU42rScKWlhhJDyXZRKJQHXFX02chSVW1IvkPGiVM= -github.com/spf13/viper v1.18.1/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=