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 {
64
64
65
65
func (i * Instances ) Files () Files {
66
66
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. " )
68
68
}
69
69
return i .files
70
70
}
71
71
72
72
func (i * Instances ) Indices () Indices {
73
73
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. " )
75
75
}
76
76
return i .indices
77
77
}
78
78
79
79
func (i * Instances ) GraphQLSchemas () GraphQLSchemas {
80
80
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. " )
82
82
}
83
83
return i .graphQLSchemas
84
84
}
You can’t perform that action at this time.
0 commit comments