Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Fix: Cluster create command throws when no username has been set#597

Merged
jafreck merged 2 commits intoAzure:masterfrom
mmduyzend:fix-userless-cluster
Jun 11, 2018
Merged

Fix: Cluster create command throws when no username has been set#597
jafreck merged 2 commits intoAzure:masterfrom
mmduyzend:fix-userless-cluster

Conversation

@mmduyzend
Copy link
Contributor

username is an optional parameter in cluster configuration, but the print_cluster_conf() method fails with an exception if it is not specified ('NoneType' object has no attribute 'username').

This change addresses the problem by omitting username from the printed form of the cluster configuration if it is not specified.

@jafreck jafreck merged commit 1cc71c7 into Azure:master Jun 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants