Skip to content

Commit

Permalink
fix: Remove hardcoded project ID
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopalet committed Nov 29, 2024
1 parent 7b8c03e commit 2aaa734
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/rabbitmq/delete_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
client = DefaultApi(config)

# Delete an instance
client.delete_instance(project_id,instance_id)
client.delete_instance(project_id, instance_id)
4 changes: 3 additions & 1 deletion examples/ske/list_clusters.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import os

from stackit.core.configuration import Configuration
from stackit.ske.api.default_api import DefaultApi

project_id = "16f49d71-37ad-4137-8b97-44d9c55c4094"
project_id = os.getenv("PROJECT_ID")

# Create a new API client, that uses default authentication and configuration
config = Configuration()
Expand Down

0 comments on commit 2aaa734

Please sign in to comment.