Commit 4e2b9d64 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

refactor: rename keyshare configuration functions

parent 3fb3ca12
......@@ -12,7 +12,7 @@ var myirmaServerCmd = &cobra.Command{
Use: "myirmaserver",
Short: "IRMA keyshare MyIRMA server",
Run: func(command *cobra.Command, args []string) {
conf := configureMyirmad(command)
conf := configureMyirmaServer(command)
// Create main server
myirmaServer, err := myirmaserver.New(conf)
......@@ -83,7 +83,7 @@ func init() {
flags.Lookup("verbose").Header = `Other options`
}
func configureMyirmad(cmd *cobra.Command) *myirmaserver.Configuration {
func configureMyirmaServer(cmd *cobra.Command) *myirmaserver.Configuration {
readConfig(cmd, "myirmaserver", "myirmaserver", []string{".", "/etc/myirmaserver/"}, nil)
// And build the configuration
......
......@@ -13,7 +13,7 @@ var keyshareServerCmd = &cobra.Command{
Use: "server",
Short: "IRMA keyshare server",
Run: func(command *cobra.Command, args []string) {
conf := configureKeyshared(command)
conf := configureKeyshareServer(command)
// Create main server
keyshareServer, err := keyshareserver.New(conf)
......@@ -82,7 +82,7 @@ func init() {
flags.Lookup("verbose").Header = `Other options`
}
func configureKeyshared(cmd *cobra.Command) *keyshareserver.Configuration {
func configureKeyshareServer(cmd *cobra.Command) *keyshareserver.Configuration {
readConfig(cmd, "keyshareserver", "keyshareserver", []string{".", "/etc/keyshareserver"}, nil)
// And build the configuration
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment