aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorapachee <apachee@yandex-team.com>2024-04-10 15:59:01 +0300
committerapachee <apachee@yandex-team.com>2024-04-10 16:08:42 +0300
commit29bf532922e81ca725c9b9bb5bfea7debabc0ea1 (patch)
tree337804a9ba21b9e978399cf406b564f010f15341
parent4ab2eba58c83838f0830a1f200a3c3bbb81592da (diff)
downloadydb-29bf532922e81ca725c9b9bb5bfea7debabc0ea1.tar.gz
YT-21331: Fix minor issues for create queue producer
Change producer type to queue_producer and change file names accordingly d2ca166930a70bbcb6e6588d3baafe1b38a1ab46
-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 cea2e62332..df9d62e45b 100644
--- a/yt/yt/client/object_client/helpers.cpp
+++ b/yt/yt/client/object_client/helpers.cpp
@@ -124,7 +124,7 @@ bool IsVersionedType(EObjectType type)
type == EObjectType::SequoiaMapNode ||
type == EObjectType::Pipeline ||
type == EObjectType::QueueConsumer ||
- type == EObjectType::Producer;
+ type == EObjectType::QueueProducer;
}
bool IsUserType(EObjectType type)
diff --git a/yt/yt/client/object_client/public.h b/yt/yt/client/object_client/public.h
index 8d90ef0d5e..1cfc0f6070 100644
--- a/yt/yt/client/object_client/public.h
+++ b/yt/yt/client/object_client/public.h
@@ -342,7 +342,7 @@ DEFINE_ENUM(EObjectType,
// Queue stuff
((QueueConsumer) (1700))
- ((Producer) (1701))
+ ((QueueProducer) (1701))
);
//! A bit mask marking schema types.