Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
go lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pzmrzy committed Oct 16, 2018
1 parent cf4db37 commit bd108a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/functions/docker/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,9 @@ func (d *Driver) Create(ctx context.Context, f *functions.Function) error {
secret, err := d.secrets.GetSecret(ctx, f.OrganizationID, secretName)
if err != nil {
return errors.Wrap(err, "cannot get secret "+secretName)
} else {
for k, v := range secret.Secrets {
envVar = append(envVar, k+"="+v)
}
}
for k, v := range secret.Secrets {
envVar = append(envVar, k+"="+v)
}
}
containerName := getID(f.Name, f.FaasID)
Expand Down

0 comments on commit bd108a8

Please sign in to comment.