Skip to content

Commit

Permalink
Merge branch 'fix/synthetics-enable-disable-incorrect-keys' of https:…
Browse files Browse the repository at this point in the history
…//github.com/dominiqueclarke/kibana into fix/synthetics-enable-disable-incorrect-keys
  • Loading branch information
dominiqueclarke committed Sep 26, 2022
2 parents 0e68251 + ec265de commit 694c390
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,7 @@ export const TLSSensitiveFieldsCodec = t.partial({
[ConfigKey.TLS_KEY_PASSPHRASE]: t.string,
});

export const TLSCodec = t.partial({
[ConfigKey.TLS_CERTIFICATE_AUTHORITIES]: t.string,
[ConfigKey.TLS_CERTIFICATE]: t.string,
[ConfigKey.TLS_VERIFICATION_MODE]: VerificationModeCodec,
[ConfigKey.TLS_VERSION]: t.array(TLSVersionCodec),
[ConfigKey.TLS_KEY]: t.string,
[ConfigKey.TLS_KEY_PASSPHRASE]: t.string,
});
export const TLSCodec = t.intersection([TLSFieldsCodec, TLSSensitiveFieldsCodec]);

export type TLSFields = t.TypeOf<typeof TLSCodec>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ export const syncNewMonitor = async ({
string,
{ preserve_namespace?: boolean }
>;
// console.warn('monitor', monitor);
// console.warn('normalizedMonitor', normalizedMonitor);

let monitorSavedObject: SavedObject<EncryptedSyntheticsMonitor> | null = null;
const monitorWithNamespace = {
Expand Down

0 comments on commit 694c390

Please sign in to comment.