Skip to content

Commit d757143

Browse files
committed
Remove installation logs duplication cused by bad rebasing
1 parent e6c4235 commit d757143

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/framework/ngf.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ type InstallationConfig struct {
4141
func InstallGatewayAPI(apiVersion string) ([]byte, error) {
4242
apiPath := fmt.Sprintf("%s/v%s/standard-install.yaml", gwInstallBasePath, apiVersion)
4343
GinkgoWriter.Printf("Installing Gateway API version %q at API path %q\n", apiVersion, apiPath)
44-
GinkgoWriter.Printf("Installing Gateway API version %q at API path %q\n", apiVersion, apiPath)
4544

4645
cmd := exec.CommandContext(
4746
context.Background(),
@@ -62,18 +61,14 @@ func InstallGatewayAPI(apiVersion string) ([]byte, error) {
6261
func UninstallGatewayAPI(apiVersion string) ([]byte, error) {
6362
apiPath := fmt.Sprintf("%s/v%s/standard-install.yaml", gwInstallBasePath, apiVersion)
6463
GinkgoWriter.Printf("Uninstalling Gateway API version %q at API path %q\n", apiVersion, apiPath)
65-
GinkgoWriter.Printf("Uninstalling Gateway API version %q at API path %q\n", apiVersion, apiPath)
6664

6765
output, err := exec.CommandContext(context.Background(), "kubectl", "delete", "-f", apiPath).CombinedOutput()
6866
if err != nil && !strings.Contains(string(output), "not found") {
6967
GinkgoWriter.Printf("Error uninstalling Gateway API version %q: %v\n", apiVersion, err)
7068

71-
GinkgoWriter.Printf("Error uninstalling Gateway API version %q: %v\n", apiVersion, err)
72-
7369
return output, err
7470
}
7571
GinkgoWriter.Printf("Successfully uninstalled Gateway API version %q\n", apiVersion)
76-
GinkgoWriter.Printf("Successfully uninstalled Gateway API version %q\n", apiVersion)
7772

7873
return nil, nil
7974
}

0 commit comments

Comments
 (0)