Skip to content

Commit

Permalink
make backward compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 1, 2024
1 parent 3588581 commit 13c276a
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flags/eigendaflags/cli.go
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ func withFlagPrefix(s string) string {
}

func withEnvPrefix(envPrefix, s string) []string {
return []string{envPrefix + "_EIGENDA_" + s}
return []string{envPrefix + "_EIGENDA_CLIENT_" + s, envPrefix + "_" + s}
}

// CLIFlags ... used for EigenDA client configuration
2 changes: 1 addition & 1 deletion store/precomputed_key/s3/cli.go
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ func CLIFlags(envPrefix, category string) []cli.Flag {
&cli.StringFlag{
Name: EndpointFlagName,
Usage: "endpoint for S3 storage",
EnvVars: withEnvPrefix(envPrefix, "S3_ENDPOINT"),
EnvVars: withEnvPrefix(envPrefix, "ENDPOINT"),
Category: category,
},
&cli.StringFlag{
2 changes: 1 addition & 1 deletion verify/cli.go
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ func withFlagPrefix(s string) string {
}

func withEnvPrefix(envPrefix, s string) []string {
return []string{envPrefix + "_EIGENDA_" + s}
return []string{envPrefix + "_EIGENDA_CLIENT_" + s, envPrefix + "_" + s}
}

// CLIFlags ... used for Verifier configuration

0 comments on commit 13c276a

Please sign in to comment.