Skip to content

Commit

Permalink
fix: capital asm
Browse files Browse the repository at this point in the history
  • Loading branch information
gak committed Jun 7, 2024
1 parent 3e54f9f commit a4b01da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/ftl/cmd_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type secretCmd struct {
Inline bool `help:"Write values inline in the configuration file." group:"Provider:" xor:"secretwriter"`
Keychain bool `help:"Write to the system keychain." group:"Provider:" xor:"secretwriter"`
Op bool `help:"Write to the controller's 1Password vault. Requires that a vault be specified to the controller. The name of the item will be the <ref> and the secret will be stored in the password field." group:"Provider:" xor:"secretwriter"`
Asm bool `help:"Write to AWS secrets manager." group:"Provider:" xor:"secretwriter"`
ASM bool `help:"Write to AWS secrets manager." group:"Provider:" xor:"secretwriter"`
}

func (s *secretCmd) Help() string {
Expand All @@ -50,7 +50,7 @@ func (s *secretCmd) provider() optional.Option[ftlv1.SecretProvider] {
return optional.Some(ftlv1.SecretProvider_SECRET_KEYCHAIN)
} else if s.Op {
return optional.Some(ftlv1.SecretProvider_SECRET_OP)
} else if s.Asm {
} else if s.ASM {
return optional.Some(ftlv1.SecretProvider_SECRET_ASM)
}
return optional.None[ftlv1.SecretProvider]()
Expand Down

0 comments on commit a4b01da

Please sign in to comment.