Skip to content

Commit

Permalink
add better output for node name and nnf node name when not supplied
Browse files Browse the repository at this point in the history
  • Loading branch information
bdevcich committed Jan 17, 2024
1 parent 67f89bd commit 0666a69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion daemons/compute/server/servers/server_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ func CreateDefaultServer(opts *ServerOptions) (*defaultServer, error) {
if err != nil {
return nil, err
}

log.Println("Hostname: " + opts.name)
}

if len(opts.host) == 0 && len(opts.port) == 0 {
Expand Down Expand Up @@ -194,7 +196,7 @@ func CreateDefaultServer(opts *ServerOptions) (*defaultServer, error) {
return nil, fmt.Errorf("storage node type '%s' not supported. Must be 'Rabbit'", storageNode.Type)
}

log.Println("Found Storage Node", storageNode.Name)
log.Println("Found Storage Node:", storageNode.Name)
opts.nodeName = storageNode.Name
}

Expand Down

0 comments on commit 0666a69

Please sign in to comment.