Skip to content

Commit

Permalink
imports
Browse files Browse the repository at this point in the history
  • Loading branch information
parametalol committed Jan 18, 2024
1 parent 5ed801c commit 1aa70bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/dinosaur/pkg/services/dinosaur.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (

"github.com/aws/aws-sdk-go/service/route53"
"github.com/golang/glog"
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/constants"
dinosaurConstants "github.com/stackrox/acs-fleet-manager/internal/dinosaur/constants"
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/api/dbapi"
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/config"
Expand Down Expand Up @@ -547,7 +546,7 @@ func (k *dinosaurService) DeprovisionExpiredDinosaurs() *errors.ServiceError {
}

dbConn = dbConn.Where("status NOT IN (?)", dinosaurDeletionStatuses)
dbConn.Where("traits IS NULL OR ? != ALL (traits)", constants.CentralTraitPreserved)
dbConn.Where("traits IS NULL OR ? != ALL (traits)", dinosaurConstants.CentralTraitPreserved)

db := dbConn.Updates(map[string]interface{}{
"status": dinosaurConstants.CentralRequestStatusDeprovision,
Expand Down

0 comments on commit 1aa70bc

Please sign in to comment.