Skip to content

Commit

Permalink
rename alibaba_cloud_slb to alibabacloudslb (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeichengWang1 committed Sep 17, 2023
1 parent dcbc2da commit 603ac6d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/add_alibaba_cloud_slb.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package controllers
import (
"sigs.k8s.io/controller-runtime/pkg/manager"

"kusionstack.io/kafed/pkg/controllers/alibaba_cloud_slb"
"kusionstack.io/kafed/pkg/controllers/alibabacloudslb"
"kusionstack.io/kafed/pkg/controllers/resourceconsist"
"kusionstack.io/kafed/pkg/features"
"kusionstack.io/kafed/pkg/utils/feature"
Expand All @@ -33,7 +33,7 @@ func Add(manager manager.Manager) error {
if !feature.DefaultFeatureGate.Enabled(features.AlibabaCloudSlb) {
return nil
}
reconcileAdapter, err := alibaba_cloud_slb.NewReconcileAdapter(manager.GetClient())
reconcileAdapter, err := alibabacloudslb.NewReconcileAdapter(manager.GetClient())
if err != nil {
return err
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package alibaba_cloud_slb
package alibabacloudslb

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package alibaba_cloud_slb
package alibabacloudslb

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package alibaba_cloud_slb
package alibabacloudslb

const alibabaCloudSlbLbIdLabelKey = "service.k8s.alibaba/loadbalancer-id"
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package alibaba_cloud_slb
package alibabacloudslb

import (
"fmt"
Expand Down

0 comments on commit 603ac6d

Please sign in to comment.