Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: use const (#16231)

p0ny31c0c4800922
diff --git a/backend/api/v1/instance_service.go b/backend/api/v1/instance_service.go
index aa0adddbf0..a3bdc50f40 100644
--- a/backend/api/v1/instance_service.go
+++ b/backend/api/v1/instance_service.go
@@ -383,7 +383,7 @@ func (s *InstanceService) checkInstanceDataSources(instance *store.InstanceMessa
return nil
}
-var instanceExceededError = "activation instance count has reached the limit (%v)"
+const instanceExceededError = "activation instance count has reached the limit (%v)"
func (s *InstanceService) checkDataSource(instance *store.InstanceMessage, dataSource *storepb.DataSource) error {
if dataSource.GetId() == "" {