Skip to content

Commit

Permalink
Fix oss build
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsanbarkati committed Mar 27, 2021
1 parent b5d60df commit 695cb6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ee/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
// GetKeys returns the ACL and encryption keys as configured by the user
// through the --acl, --encryption_key_file, and --vault flags. On OSS builds,
// this function exits with an error.
func GetKeys(config *viper.Viper) (x.SensitiveByteSlice, x.SensitiveByteSlice) {
func GetKeys(config *viper.Viper) (x.Sensitive, x.Sensitive) {
glog.Exit("flags: acl / encryption is an enterprise-only feature")
return nil, nil
}
2 changes: 1 addition & 1 deletion ee/vault/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/spf13/viper"
)

func GetKeys(config *viper.Viper) (aclKey, encKey x.SensitiveByteSlice) {
func GetKeys(config *viper.Viper) (aclKey, encKey x.Sensitive) {
glog.Exit("flags: vault is an enterprise-only feature")
return
}

0 comments on commit 695cb6c

Please sign in to comment.