Skip to content

Commit

Permalink
Fix formatting for new ssh_elevate_credential.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelmold committed May 28, 2021
1 parent db13a38 commit 3df5829
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/manage.h
Original file line number Diff line number Diff line change
Expand Up @@ -1586,8 +1586,8 @@ find_target_with_permission (const char *, target_t *, const char *);
int
create_target (const char*, const char*, const char*, const char*, const char*,
const char *, const char*, credential_t, credential_t,
const char*,credential_t, credential_t, credential_t,
const char *,const char *, const char *, const char *,
const char *, credential_t, credential_t, credential_t,
const char *, const char *, const char *, const char *,
target_t*);

int
Expand Down
6 changes: 3 additions & 3 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -30575,7 +30575,7 @@ create_target (const char* name, const char* asset_hosts_filter,
const char* hosts, const char* exclude_hosts,
const char* comment, const char* port_list_id,
const char* port_range, credential_t ssh_credential,
credential_t ssh_elevate_credential,
credential_t ssh_elevate_credential,
const char* ssh_port, credential_t smb_credential,
credential_t esxi_credential, credential_t snmp_credential,
const char *reverse_lookup_only,
Expand Down Expand Up @@ -31054,7 +31054,7 @@ int
modify_target (const char *target_id, const char *name, const char *hosts,
const char *exclude_hosts, const char *comment,
const char *port_list_id, const char *ssh_credential_id,
const char *ssh_elevate_credential_id,
const char *ssh_elevate_credential_id,
const char *ssh_port, const char *smb_credential_id,
const char *esxi_credential_id, const char* snmp_credential_id,
const char *reverse_lookup_only,
Expand Down Expand Up @@ -31616,7 +31616,7 @@ modify_target (const char *target_id, const char *name, const char *hosts,
" WHERE credentials.id" \
" = target_credential (targets.id, 0," \
" CAST ('elevate' AS text)))", \
"ssh_elevate_credential", \
"ssh_elevate_credential", \
KEYWORD_TYPE_STRING \
}, \
{ "hosts", NULL, KEYWORD_TYPE_STRING }, \
Expand Down

0 comments on commit 3df5829

Please sign in to comment.