Skip to content

Commit

Permalink
More OSS -> CE
Browse files Browse the repository at this point in the history
  • Loading branch information
analogue committed Aug 17, 2023
1 parent 1e16c5e commit dceaaeb
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ce-merge-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
trigger-ce-merge:
# run this only on merge events in OSS repo
# run this only on merge events in CE repo
if: ${{ github.event.pull_request.merged && github.repository == 'hashicorp/consul' }}
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions api/oss_test.go → api/ce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

package api

// The following defaults return "default" in enterprise and "" in OSS.
// The following defaults return "default" in enterprise and "" in CE.
// This constant is useful when a default value is needed for an
// operation that will reject non-empty values in OSS.
// operation that will reject non-empty values in CE.
const defaultNamespace = ""
const defaultPartition = ""
2 changes: 1 addition & 1 deletion command/acl/token/formatter_ce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ import (
)

func TestFormatTokenExpanded(t *testing.T) {
testFormatTokenExpanded(t, "FormatTokenExpanded/oss")
testFormatTokenExpanded(t, "FormatTokenExpanded/ce")
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func TestStateCommand_JSON(t *testing.T) {

func TestStateCommand_Formatter(t *testing.T) {
cases := []string{
"oss",
"ce",
"enterprise",
}

Expand Down

0 comments on commit dceaaeb

Please sign in to comment.