Fix feature support checks in the Python SDK. (#5702)
This commit is contained in:
parent
00f8966a9a
commit
f6b687ea03
|
@ -2,7 +2,10 @@ CHANGELOG
|
|||
=========
|
||||
|
||||
## HEAD (Unreleased)
|
||||
_(none)_
|
||||
|
||||
- Fix a bug in the Python SDK that caused incompatibilities with versions of the CLI prior to
|
||||
2.13.0.
|
||||
[#5702](https://github.com/pulumi/pulumi/pull/5702)
|
||||
|
||||
## 2.13.0 (2020-11-04)
|
||||
|
||||
|
|
|
@ -211,7 +211,7 @@ async def monitor_supports_feature(feature: str) -> bool:
|
|||
if not monitor:
|
||||
return False
|
||||
|
||||
req = resource_pb2.SupportsFeatureRequest(id="secrets")
|
||||
req = resource_pb2.SupportsFeatureRequest(id=feature)
|
||||
def do_rpc_call():
|
||||
try:
|
||||
resp = monitor.SupportsFeature(req)
|
||||
|
|
Loading…
Reference in a new issue