prefix in objstoreConfig not working #5442
-
Hi, I am getting this error: level=error ts=2022-06-24T08:14:54.625680723Z caller=main.go:132 err="yaml: unmarshal errors:\n line 36: field prefix not found in type client.BucketConfig\nparsing config YAML file\ngithub.com/thanos-io/thanos/pkg/objstore/client.NewBucket\n\t/app/pkg/objstore/client/factory.go:52\nmain.runReceive\n\t/app/cmd/thanos/receive.go:161\nmain.registerReceive.func1\n\t/app/cmd/thanos/receive.go:86\nmain.main\n\t/app/cmd/thanos/main.go:130\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:255\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1581\npreparing receive command failed\nmain.main\n\t/app/cmd/thanos/main.go:132\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:255\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1581" what am i doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I can't tell what your indentation is but you probably have something like:
Prefix is at the root level in the config hierarchy, so it should be:
Try that. |
Beta Was this translation helpful? Give feedback.
-
upgrade thanos to v0.28.0 will fix it. |
Beta Was this translation helpful? Give feedback.
upgrade thanos to v0.28.0 will fix it.