Skip to content

Commit

Permalink
Merge pull request #17987 from timothyklemm/hpcc-30722-resolveSecret
Browse files Browse the repository at this point in the history
HPCC-30722 Fix resolveSecret declaration

Reviewed-by: Gavin Halliday <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Nov 2, 2023
2 parents e09fb04 + b65b315 commit b2d8035
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 b2d8035

Please sign in to comment.