Skip to content

Commit

Permalink
remove coincident code
Browse files Browse the repository at this point in the history
Signed-off-by: CeerDecy <[email protected]>
  • Loading branch information
CeerDecy committed Oct 28, 2024
1 parent db48fa0 commit 96bd7c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/tools/orchestrator/dbclient/addon_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ func (db *DBClient) GetAddonInstanceByNameAndCluster(addonName, cluster string)
var instance AddonInstance
if err := db.Where("addon_name = ?", addonName).
Where("az = ?", cluster).
Where("status = ?", apistructs.AddonAttached).
Where("is_deleted = ?", apistructs.AddonNotDeleted).
Where("status = ?", apistructs.AddonAttached).
First(&instance).Error; err != nil {
Expand Down

0 comments on commit 96bd7c4

Please sign in to comment.