Skip to content

Commit

Permalink
pants-plugins/uses_services: register st2cluster check
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Nov 6, 2024
1 parent 5ccde3f commit f4a1304
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pants-plugins/uses_services/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
platform_rules,
rabbitmq_rules,
redis_rules,
st2cluster_rules,
system_user_rules,
)
from uses_services.target_types import UsesServicesField
Expand All @@ -36,5 +37,6 @@ def rules():
*mongo_rules.rules(),
*rabbitmq_rules.rules(),
*redis_rules.rules(),
*st2cluster_rules.rules(),
*system_user_rules.rules(),
]
2 changes: 1 addition & 1 deletion pants-plugins/uses_services/target_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from pants.engine.target import StringSequenceField


supported_services = ("mongo", "rabbitmq", "redis", "system_user")
supported_services = ("mongo", "rabbitmq", "redis", "st2cluster", "system_user")


class UsesServicesField(StringSequenceField):
Expand Down

0 comments on commit f4a1304

Please sign in to comment.