Add periods

This commit is contained in:
Moein Nemati 2023-06-28 14:35:34 +03:00
parent 242f2ee10e
commit e016e7112d
No known key found for this signature in database
GPG Key ID: A893D5BF4D5FAE12
1 changed files with 3 additions and 3 deletions

View File

@ -179,17 +179,17 @@ func commandBuild(build Build, dryrun bool) *execabs.Cmd {
return execabs.Command(dockerBin, args...)
}
// helper function to parse string secret key-pair
// helper function to parse string secret key-pair.
func getSecretStringCmdArg(kvp string) (string, error) {
return getSecretCmdArg(kvp, false)
}
// helper function to parse file secret key-pair
// helper function to parse file secret key-pair.
func getSecretFileCmdArg(kvp string) (string, error) {
return getSecretCmdArg(kvp, true)
}
// helper function to parse secret key-pair
// helper function to parse secret key-pair.
func getSecretCmdArg(kvp string, file bool) (string, error) {
delimIndex := strings.IndexByte(kvp, '=')
if delimIndex == -1 {