X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/4d2ff0c66175bf47c5643e9500c2cc6d7caf8c8b..fe5d65e4e704358fab18d91dae5a97ff7659f5df:/src/validators/validators.tsx

diff --git a/src/validators/validators.tsx b/src/validators/validators.tsx
index 9bc76419..acef9744 100644
--- a/src/validators/validators.tsx
+++ b/src/validators/validators.tsx
@@ -5,6 +5,7 @@
 import { require } from './require';
 import { maxLength } from './max-length';
 import { isRsaKey } from './is-rsa-key';
+import { isRemoteHost } from "./is-remote-host";
 
 export const TAG_KEY_VALIDATION = [require, maxLength(255)];
 export const TAG_VALUE_VALIDATION = [require, maxLength(255)];
@@ -31,4 +32,6 @@ export const USER_LENGTH_VALIDATION = [maxLength(255)];
 export const SSH_KEY_PUBLIC_VALIDATION = [require, isRsaKey, maxLength(1024)];
 export const SSH_KEY_NAME_VALIDATION = [require, maxLength(255)];
 
+export const SITE_MANAGER_REMOTE_HOST_VALIDATION = [require, isRemoteHost, maxLength(255)];
+
 export const MY_ACCOUNT_VALIDATION = [require];
