Skip to content

feat: add smbw support#2104

Open
assafgi wants to merge 1 commit intomainfrom
01-21-feat_add_smbw_support
Open

feat: add smbw support#2104
assafgi wants to merge 1 commit intomainfrom
01-21-feat_add_smbw_support

Conversation

@assafgi
Copy link
Contributor

@assafgi assafgi commented Jan 22, 2026

No description provided.

@assafgi assafgi marked this pull request as ready for review January 22, 2026 07:00
Copy link
Contributor Author

assafgi commented Jan 22, 2026


How to use the Graphite Merge Queue

Add the label main-merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@graphite-app
Copy link

graphite-app bot commented Jan 22, 2026

Graphite Automations

"Add anton/matt/sergey/kristina as reviwers on operator PRs" took an action on this PR • (01/22/26)

2 reviewers were added to this PR based on Anton Bykov's automation.

@assafgi assafgi force-pushed the 01-21-feat_add_smbw_support branch from 6660290 to 295e9ec Compare January 22, 2026 08:07
Comment on lines +40 to +49
smbwCluster, err := wekaService.GetSmbwCluster(ctx)
if err != nil {
err = errors.Wrap(err, "Failed to get SMB-W cluster")
return err
}

if smbwCluster.Active {
logger.Info("SMB-W cluster already exists")
return nil
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks like EnsureSmbwCluster expects smbw cluster to be already created and will otherwise

Comment on lines +263 to +265
func contains(s, substr string) bool {
return len(s) >= len(substr) && (s == substr || len(s) > 0 && containsIgnoreCase(s, substr))
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, it's for containsIgnoreCase
then maybe would be good to remove this "contains" func and only keep "containsIgnoreCase"

@assafgi assafgi force-pushed the 01-21-feat_add_smbw_support branch from 295e9ec to 5516b89 Compare January 22, 2026 10:54
@assafgi assafgi requested a review from a team as a code owner January 28, 2026 18:09
@assafgi assafgi force-pushed the 01-21-feat_add_smbw_support branch 12 times, most recently from 86a2913 to dd13517 Compare February 10, 2026 11:24
@assafgi assafgi force-pushed the 01-21-feat_add_smbw_support branch from dd13517 to 607f4de Compare February 11, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants