Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/eks-anywhere
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 318f1daac97b06899398aae8d5013e9c8f24f857
Choose a base ref
..
head repository: aws/eks-anywhere
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f3ebb5e214a5dd3b4733d8d82599c92c977b7b7b
Choose a head ref
Showing with 8 additions and 9 deletions.
  1. +5 −6 pkg/utils/yaml/yaml_test.go
  2. +1 −1 release/cli/pkg/assets/archives/archives.go
  3. +1 −1 release/cli/pkg/assets/assets.go
  4. +1 −1 release/cli/pkg/bundles/bundles.go
11 changes: 5 additions & 6 deletions pkg/utils/yaml/yaml_test.go
Original file line number Diff line number Diff line change
@@ -8,13 +8,13 @@ import (

func TestJoinDocuments(t *testing.T) {
tests := []struct {
name string
input [][]byte
name string
input [][]byte
output []byte
}{
{
name: "Empty input",
input: [][]byte{},
name: "Empty input",
input: [][]byte{},
output: []byte{},
},
{
@@ -26,8 +26,7 @@ metadata:
name: pod-1
`),
},
output:
[]byte(`apiVersion: v1
output: []byte(`apiVersion: v1
kind: Pod
metadata:
name: pod-1
2 changes: 1 addition & 1 deletion release/cli/pkg/assets/archives/archives.go
Original file line number Diff line number Diff line change
@@ -17,9 +17,9 @@ package archives
import (
"fmt"
"path/filepath"
"slices"

"github.com/pkg/errors"
"slices"

assettypes "github.com/aws/eks-anywhere/release/cli/pkg/assets/types"
"github.com/aws/eks-anywhere/release/cli/pkg/filereader"
2 changes: 1 addition & 1 deletion release/cli/pkg/assets/assets.go
Original file line number Diff line number Diff line change
@@ -18,11 +18,11 @@ import (
"context"
"fmt"
"path/filepath"
"slices"
"strconv"

"github.com/pkg/errors"
"golang.org/x/sync/errgroup"
"slices"

"github.com/aws/eks-anywhere/release/cli/pkg/assets/archives"
assetconfig "github.com/aws/eks-anywhere/release/cli/pkg/assets/config"
2 changes: 1 addition & 1 deletion release/cli/pkg/bundles/bundles.go
Original file line number Diff line number Diff line change
@@ -16,12 +16,12 @@ package bundles

import (
"fmt"
"slices"
"strconv"
"strings"

"github.com/pkg/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"slices"

anywherev1alpha1 "github.com/aws/eks-anywhere/release/api/v1alpha1"
"github.com/aws/eks-anywhere/release/cli/pkg/constants"