Skip to content

Commit b5cbef5

Browse files
feat: [CDS-109831] Add parse for GcpKms connector type (#656)
1 parent 87296c5 commit b5cbef5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

harness/nextgen/model_connector_info_serializer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ func (a *ConnectorInfo) UnmarshalJSON(data []byte) error {
111111
err = json.Unmarshal(aux.Spec, &a.Pdc)
112112
case ConnectorTypes.CustomSecretManager:
113113
err = json.Unmarshal(aux.Spec, &a.CustomSecretManager)
114+
case ConnectorTypes.GcpKms:
115+
err = json.Unmarshal(aux.Spec, &a.GcpKms)
114116
default:
115117
panic(fmt.Sprintf("unknown connector type %s", a.Type_))
116118
}

0 commit comments

Comments
 (0)