Skip to content

Commit

Permalink
fix(compute/metadata): reference correct error type
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Oct 10, 2023
1 parent 31f9f37 commit 3f8a4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/compute/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewMetadataCommand(parent cmd.Registerer, g *global.Data) *MetadataCommand
// Exec implements the command interface.
func (c *MetadataCommand) Exec(_ io.Reader, out io.Writer) error {
if c.disable && c.enable {
return fsterr.ErrInvalidMetadataEnableDisableCombo
return fsterr.ErrInvalidEnableDisableFlagCombo
}
if c.disable {
c.Globals.Config.WasmMetadata = toggleAll("disable")
Expand Down

0 comments on commit 3f8a4de

Please sign in to comment.