File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
internal/catalogd/storage Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,21 +64,21 @@ func NewInstances(opts ...InstancesOption) *Instances {
6464
6565func (i * Instances ) Files () Files {
6666 if i .files == nil {
67- panic ("files data was not initialized" )
67+ panic ("files data was not initialized. Ensure that the 'WithFiles' option is used when creating the Instances object. " )
6868 }
6969 return i .files
7070}
7171
7272func (i * Instances ) Indices () Indices {
7373 if i .indices == nil {
74- panic ("indices data was not initialized" )
74+ panic ("indices data was not initialized. Ensure that the 'WithIndices' option is used when creating the Instances object. " )
7575 }
7676 return i .indices
7777}
7878
7979func (i * Instances ) GraphQLSchemas () GraphQLSchemas {
8080 if i .graphQLSchemas == nil {
81- panic ("graphQLSchemas data was not initialized" )
81+ panic ("graphQLSchemas data was not initialized. Ensure that the 'WithGraphQLSchemas' option is used when creating the Instances object. " )
8282 }
8383 return i .graphQLSchemas
8484}
You can’t perform that action at this time.
0 commit comments