cmd/k8s-operator/generate: skip tests if no network or Helm is down
Updates helm/helm#31434 Change-Id: I5eb20e97ff543f883d5646c9324f50f54180851d Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
74f1d8bd87
commit
d5a40c01ab
@@ -144,7 +144,7 @@ func generate(baseDir string) error {
|
||||
if _, err := file.Write([]byte(helmConditionalEnd)); err != nil {
|
||||
return fmt.Errorf("error writing helm if-statement end: %w", err)
|
||||
}
|
||||
return nil
|
||||
return file.Close()
|
||||
}
|
||||
for _, crd := range []struct {
|
||||
crdPath, templatePath string
|
||||
|
||||
Reference in New Issue
Block a user