mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 11:26:17 +00:00
Chore: Cleanup
This commit is contained in:
@@ -228,7 +228,9 @@ func secretTemplateFunction(accessToken string, existingEtag string, currentEtag
|
|||||||
*currentEtag = res.Etag
|
*currentEtag = res.Etag
|
||||||
}
|
}
|
||||||
|
|
||||||
return res.Secrets, nil
|
expandedSecrets := util.ExpandSecrets(res.Secrets, models.ExpandSecretsAuthentication{UniversalAuthAccessToken: accessToken}, "")
|
||||||
|
|
||||||
|
return expandedSecrets, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -622,7 +624,7 @@ var agentCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !FileExists(configPath) && agentConfigInBase64 == "" {
|
if !FileExists(configPath) && agentConfigInBase64 == "" {
|
||||||
log.Error().Msgf("No agent config file provided. Please provide a agent config file", configPath)
|
log.Error().Msgf("No agent config file provided at %v. Please provide a agent config file", configPath)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user