Skip to content

Commit

Permalink
chore: remove user check from upstream config for partially filled (#432
Browse files Browse the repository at this point in the history
)
  • Loading branch information
yashmehrotra authored Jan 13, 2024
1 parent 7227be4 commit e6c08a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upstream/upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (t *UpstreamConfig) Valid() bool {
}

func (t *UpstreamConfig) IsPartiallyFilled() bool {
return !t.Valid() && (t.Host != "" || t.Username != "" || t.Password != "" || t.AgentName != "")
return !t.Valid() && (t.Host != "" || t.Password != "" || t.AgentName != "")
}

func (t *UpstreamConfig) LabelsMap() map[string]string {
Expand Down

0 comments on commit e6c08a5

Please sign in to comment.