inegration: fix linting issues

This commit is contained in:
Caleb Doxsey 2020-04-28 08:17:22 -06:00
parent cb3e78cd01
commit b11a336a33
8 changed files with 21 additions and 12 deletions

View file

@ -40,7 +40,7 @@ func (cluster *Cluster) Setup(ctx context.Context) error {
return err
}
jsonsrc, err := cluster.generateManifests(ctx)
jsonsrc, err := cluster.generateManifests()
if err != nil {
return err
}
@ -136,7 +136,7 @@ func (cluster *Cluster) getNodeHTTPSAddr(ctx context.Context) (hostport string,
return net.JoinHostPort(hostIP, port), nil
}
func (cluster *Cluster) generateManifests(ctx context.Context) (string, error) {
func (cluster *Cluster) generateManifests() (string, error) {
src, err := ioutil.ReadFile(filepath.Join(cluster.workingDir, "manifests", "manifests.jsonnet"))
if err != nil {
return "", fmt.Errorf("error reading manifest jsonnet src: %w", err)