Skip to content

Commit

Permalink
Merge pull request PelicanPlatform#186 from joereuss12/fix-plugin-sta…
Browse files Browse the repository at this point in the history
…ging-typos-branch

fixed typos within plugin_stage.go
  • Loading branch information
joereuss12 authored Oct 10, 2023
2 parents e5a6f00 + 7293afb commit 8ac5bad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/plugin_stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ func init() {
panic(err)
}
stageCmd.Flags().StringP("mount", "m", "", "Prefix corresponding to the local mount point of the origin")
if err := viper.BindPFlag("StagePlugin.LocalMount", stageCmd.Flags().Lookup("mount")); err != nil {
if err := viper.BindPFlag("StagePlugin.MountPrefix", stageCmd.Flags().Lookup("mount")); err != nil {
panic(err)
}
stageCmd.Flags().StringP("origin-prefix", "o", "", "Prefix corresponding to the local origin")
if err := viper.BindPFlag("StagePlugin.OriginPrefix", stageCmd.Flags().Lookup("origin-prefix")); err != nil {
panic(err)
}
stageCmd.Flags().StringP("shadow-prefix", "s", "", "Prefix corresponding to the shadow origin")
if err := viper.BindPFlag("StagePlugin.ShadowPrefix", stageCmd.Flags().Lookup("shadow-prefix")); err != nil {
if err := viper.BindPFlag("StagePlugin.ShadowOriginPrefix", stageCmd.Flags().Lookup("shadow-prefix")); err != nil {
panic(err)
}

Expand Down

0 comments on commit 8ac5bad

Please sign in to comment.