Skip to content

Commit e7c45ed

Browse files
authored
Replace "DO NOT EDIT" header in legacy SCIM command files (#4722)
## Summary - The legacy SCIM command files (groups, users, service-principals) for both account and workspace were last regenerated in f09257e. - Since c0a0f04 introduced the v2 SCIM commands, the legacy files are no longer auto-generated; the v2 replacements are the generated files now. - Replace the stale `// Code generated ... DO NOT EDIT.` header with a comment explaining these files are manually maintained.
1 parent 30c3e8d commit e7c45ed

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
lines changed

cmd/account/groups/groups.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
1+
// These SCIM commands were previously auto-generated from OpenAPI specs
2+
// but are now manually maintained because the v2 API versions have taken
3+
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
24

5+
//nolint:staticcheck,perfsprint
36
package groups
47

58
import (

cmd/account/service-principals/service-principals.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
1+
// These SCIM commands were previously auto-generated from OpenAPI specs
2+
// but are now manually maintained because the v2 API versions have taken
3+
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
24

5+
//nolint:staticcheck,perfsprint
36
package service_principals
47

58
import (

cmd/account/users/users.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
1+
// These SCIM commands were previously auto-generated from OpenAPI specs
2+
// but are now manually maintained because the v2 API versions have taken
3+
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
24

5+
//nolint:staticcheck,perfsprint
36
package users
47

58
import (

cmd/workspace/groups/groups.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
1+
// These SCIM commands were previously auto-generated from OpenAPI specs
2+
// but are now manually maintained because the v2 API versions have taken
3+
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
24

5+
//nolint:staticcheck,perfsprint
36
package groups
47

58
import (

cmd/workspace/service-principals/service-principals.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
1+
// These SCIM commands were previously auto-generated from OpenAPI specs
2+
// but are now manually maintained because the v2 API versions have taken
3+
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
24

5+
//nolint:staticcheck,perfsprint
36
package service_principals
47

58
import (

cmd/workspace/users/users.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
1+
// These SCIM commands were previously auto-generated from OpenAPI specs
2+
// but are now manually maintained because the v2 API versions have taken
3+
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
24

5+
//nolint:staticcheck,perfsprint
36
package users
47

58
import (

0 commit comments

Comments
 (0)