aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorapachee <apachee@yandex-team.com>2024-03-28 19:46:01 +0300
committerapachee <apachee@yandex-team.com>2024-03-28 19:57:01 +0300
commit22f953d76634703f1ac2d06ec90fe270ceaafe74 (patch)
tree0179321b0fce2b863cc853dacb6b69735cebe537
parent17dd94691dae3735979ddc51ebee59fc1160a8cf (diff)
downloadydb-22f953d76634703f1ac2d06ec90fe270ceaafe74.tar.gz
YT-19949: Fix minor issues for create consumer
Rename consumer to queue consumer 9d9166a40e6801f76e02fbb696edd7dff42938e5
-rw-r--r--yt/yt/client/object_client/helpers.cpp2
-rw-r--r--yt/yt/client/object_client/public.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/client/object_client/helpers.cpp b/yt/yt/client/object_client/helpers.cpp
index 945ed6b02f..21fc7e924f 100644
--- a/yt/yt/client/object_client/helpers.cpp
+++ b/yt/yt/client/object_client/helpers.cpp
@@ -123,7 +123,7 @@ bool IsVersionedType(EObjectType type)
type == EObjectType::ClusterProxyNode ||
type == EObjectType::SequoiaMapNode ||
type == EObjectType::Pipeline ||
- type == EObjectType::Consumer ||
+ type == EObjectType::QueueConsumer ||
type == EObjectType::Producer;
}
diff --git a/yt/yt/client/object_client/public.h b/yt/yt/client/object_client/public.h
index a51cdd2bc4..8d90ef0d5e 100644
--- a/yt/yt/client/object_client/public.h
+++ b/yt/yt/client/object_client/public.h
@@ -341,7 +341,7 @@ DEFINE_ENUM(EObjectType,
((Pipeline) (1600))
// Queue stuff
- ((Consumer) (1700))
+ ((QueueConsumer) (1700))
((Producer) (1701))
);