Skip to content

Commit 9209121

Browse files
committed
Update error message for missing tenant header
Signed-off-by: Daniel Widdis <[email protected]>
1 parent 7ed3d53 commit 9209121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/test/java/org/opensearch/ml/rest/MLCommonsTenantAwareRestTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public abstract class MLCommonsTenantAwareRestTestCase extends MLCommonsRestTest
6060
protected static final String EMPTY_CONTENT = "{}";
6161

6262
// REST Response error reasons
63-
protected static final String MISSING_TENANT_REASON = "Tenant ID header is missing";
63+
protected static final String MISSING_TENANT_REASON = "Tenant ID header is missing or has no value";
6464
protected static final String NO_PERMISSION_REASON = "You don't have permission to access this resource";
6565
protected static final String DEPLOYED_REASON =
6666
"Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete";

0 commit comments

Comments
 (0)