Skip to content

Commit

Permalink
HPCC-30722 Fix resolveSecret declaration
Browse files Browse the repository at this point in the history
Add optVersion parameter to the resolveSecret function declaration, to match
the function definition.

Signed-off-by: Tim Klemm <tim.klemm@lexisnexisrisk.com>
  • Loading branch information
Tim Klemm committed Nov 1, 2023
1 parent e09fb04 commit b65b315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/jlib/jsecrets.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern jlib_decl void setSecretMount(const char * path);
extern jlib_decl void setSecretTimeout(unsigned timeoutMs);

extern jlib_decl IPropertyTree *getSecret(const char *category, const char * name, const char * optVaultId = nullptr, const char * optVersion = nullptr);
extern jlib_decl ISecret * resolveSecret(const char *category, const char * name, const char * optRequiredVault);
extern jlib_decl ISecret * resolveSecret(const char *category, const char * name, const char * optRequiredVault, const char* optVersion);

extern jlib_decl bool getSecretKeyValue(MemoryBuffer & result, const IPropertyTree *secret, const char * key);
extern jlib_decl bool getSecretKeyValue(StringBuffer & result, const IPropertyTree *secret, const char * key);
Expand Down

0 comments on commit b65b315

Please sign in to comment.