Skip to content

Commit

Permalink
Revert default orb setting in ParseMeta
Browse files Browse the repository at this point in the history
  • Loading branch information
berkayoz committed May 28, 2024
1 parent e6279ad commit 0db5923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/k8s/pkg/utils/experimental/snapdconfig/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ func ParseMeta(ctx context.Context, s snap.Snap) (Meta, bool, error) {
return Meta{}, false, fmt.Errorf("failed to parse snap config mode: %w", err)
}

// default meta.orb is k8sd
// default meta.orb is none
if parse.Meta.Orb == "" {
parse.Meta.Orb = "k8sd"
parse.Meta.Orb = "none"
}
switch parse.Meta.Orb {
case "k8sd", "snapd", "none":
Expand Down

0 comments on commit 0db5923

Please sign in to comment.