diff --git a/src/segment_az.go b/src/segment_az.go index a6585ee2..e322d599 100644 --- a/src/segment_az.go +++ b/src/segment_az.go @@ -78,7 +78,7 @@ type AzurePowerShellSubscription struct { } func (a *az) string() string { - segmentTemplate := a.props.getString(SegmentTemplate, "{{ .EnvironmentName }}") + segmentTemplate := a.props.getString(SegmentTemplate, "{{ .Name }}") template := &textTemplate{ Template: segmentTemplate, Context: a,