Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Make golangci-lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
carolynvs-msft committed Jun 17, 2019
1 parent f62c521 commit 562305a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/driver/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (k *KubernetesDriver) Run(op *driver.Operation) error {
}

container.EnvFrom = []v1.EnvFromSource{
v1.EnvFromSource{
{
SecretRef: &v1.SecretEnvSource{
LocalObjectReference: v1.LocalObjectReference{
Name: envsecret.ObjectMeta.Name,
Expand Down Expand Up @@ -264,6 +264,9 @@ func (k *KubernetesDriver) watchJobStatusAndLogs(selector metav1.ListOptions, ou
break
}
}
if err != nil {
return err
}

// Wait for pod logs to finish printing
for i := 0; i < int(k.requiredCompletions); i++ {
Expand Down

0 comments on commit 562305a

Please sign in to comment.