Skip to content

Commit afc454a

Browse files
authored
Fix the testserver backend. (#10)
The `testserver` subcommand was running the `Htpasswd` backend rather than the `Testserver` backend. Signed-off-by: James Peach <jpeach@vmware.com>
1 parent 71f16eb commit afc454a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cli/testserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func NewTestserverCommand() *cobra.Command {
4141
return ExitErrorf(EX_CONFIG, "invalid TLS configuration: %s", err)
4242
}
4343

44-
auth.RegisterServer(srv, &auth.Htpasswd{Log: log})
44+
auth.RegisterServer(srv, &auth.Testserver{Log: log})
4545

4646
log.Info("started serving", "address", mustString(cmd.Flags().GetString("address")))
4747
return auth.RunServer(listener, srv, ctrl.SetupSignalHandler())

0 commit comments

Comments
 (0)