fix metal provider flag and env loading, and return error if provider not defined

This commit is contained in:
Mike Mason
2023-07-19 17:48:22 +00:00
parent 6c5073ba9b
commit 02c7895449
6 changed files with 45 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ func init() {
oauth2x.MustViperFlags(viper.GetViper(), serveCmd.Flags())
permissions.MustViperFlags(viper.GetViper(), serveCmd.Flags())
metal.MustViperFlags(viper.GetViper(), serveCmd.Flags())
}
func serve(cmd *cobra.Command, _ []string) {