We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f50baaa commit d133241Copy full SHA for d133241
1 file changed
pkg/cain/cqlsh.go
@@ -40,7 +40,7 @@ func DescribeKeyspaceSchema(iK8sClient interface{}, namespace, pod, container, k
40
command := []string{fmt.Sprintf("DESC %s;", keyspace)}
41
schema, err := Cqlsh(iK8sClient, namespace, pod, container, command)
42
if err != nil {
43
- return nil, "", err
+ return nil, "", fmt.Errorf("Could not describe schema. make sure a schema exists for keyspace \"%s\". %s", keyspace, err)
44
}
45
h := sha256.New()
46
h.Write(schema)
0 commit comments