Skip to content

Commit

Permalink
fix: name of option method call
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
  • Loading branch information
TerryHowe committed Sep 30, 2024
1 parent 47e99c4 commit 8d4062e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/internal/option/platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type ArtifactPlatform struct {
// ApplyFlags applies flags to a command flag set.
func (opts *ArtifactPlatform) ApplyFlags(fs *pflag.FlagSet) {
opts.FlagDescription = "set artifact platform"
opts.Platform.AppFlags(fs)
opts.Platform.ApplyFlags(fs)
}

// Parse parses the input platform flag to an oci platform type.
Expand Down

0 comments on commit 8d4062e

Please sign in to comment.